Save This Page
Home » dom4j-1.6.1 » org.dom4j.util » [javadoc | source]
org.dom4j.util
public class: UserDataAttribute [javadoc | source]
java.lang.Object
   org.dom4j.tree.AbstractNode
      org.dom4j.tree.AbstractAttribute
         org.dom4j.tree.FlyweightAttribute
            org.dom4j.tree.DefaultAttribute
               org.dom4j.util.UserDataAttribute

All Implemented Interfaces:
    Attribute, Cloneable, Node, Serializable

UserDataAttribute support the adornment of a user data object on an Element or Attribute instance such that the methods {@link#getData} #setData(Object) will get and set the values of a user data object. This can be useful for developers wishing to create XML trees and adorn the trees with user defined objects.

Fields inherited from org.dom4j.tree.FlyweightAttribute:
value
Fields inherited from org.dom4j.tree.AbstractNode:
NODE_TYPE_NAMES
Constructor:
 public UserDataAttribute(QName qname) 
 public UserDataAttribute(QName qname,
    String text) 
Method from org.dom4j.util.UserDataAttribute Summary:
getData,   setData
Methods from org.dom4j.tree.DefaultAttribute:
getParent,   isReadOnly,   setParent,   setValue,   supportsParent
Methods from org.dom4j.tree.FlyweightAttribute:
getQName,   getValue
Methods from org.dom4j.tree.AbstractAttribute:
accept,   asXML,   createXPathResult,   getData,   getName,   getNamespace,   getNamespacePrefix,   getNamespaceURI,   getNodeType,   getPath,   getQualifiedName,   getText,   getUniquePath,   setData,   setNamespace,   setText,   setValue,   toString,   write
Methods from org.dom4j.tree.AbstractNode:
asXPathResult,   clone,   createPattern,   createXPath,   createXPathFilter,   createXPathResult,   detach,   getDocument,   getDocumentFactory,   getName,   getNodeType,   getNodeTypeName,   getParent,   getPath,   getStringValue,   getText,   getUniquePath,   hasContent,   isReadOnly,   matches,   numberValueOf,   selectNodes,   selectNodes,   selectNodes,   selectObject,   selectSingleNode,   setDocument,   setName,   setParent,   setText,   supportsParent,   valueOf,   write
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.dom4j.util.UserDataAttribute Detail:
 public Object getData() 
 public  void setData(Object data)