Save This Page
Home » dom4j-1.6.1 » org.dom4j.tree » [javadoc | source]
org.dom4j.tree
public class: DefaultElement [javadoc | source]
java.lang.Object
   org.dom4j.tree.AbstractNode
      org.dom4j.tree.AbstractBranch
         org.dom4j.tree.AbstractElement
            org.dom4j.tree.DefaultElement

All Implemented Interfaces:
    Element, Branch, Cloneable, Node, Serializable

Direct Known Subclasses:
    DatatypeElement, DOMElement, UserDataElement, BeanElement, LElement, IndexedElement

DefaultElement is the default DOM4J default implementation of an XML element.

Fields inherited from org.dom4j.tree.AbstractElement:
EMPTY_LIST,  EMPTY_ITERATOR,  VERBOSE_TOSTRING,  USE_STRINGVALUE_SEPARATOR
Fields inherited from org.dom4j.tree.AbstractBranch:
DEFAULT_CONTENT_LIST_SIZE
Fields inherited from org.dom4j.tree.AbstractNode:
NODE_TYPE_NAMES
Constructor:
 public DefaultElement(String name) 
 public DefaultElement(QName qname) 
 public DefaultElement(QName qname,
    int attributeCount) 
 public DefaultElement(String name,
    Namespace namespace) 
Method from org.dom4j.tree.DefaultElement Summary:
add,   addNewNode,   additionalNamespaces,   additionalNamespaces,   attribute,   attribute,   attribute,   attribute,   attributeCount,   attributeIterator,   attributeList,   attributeList,   attributes,   clearContent,   clone,   contentList,   declaredNamespaces,   element,   element,   element,   getDocument,   getDocumentFactory,   getNamespaceForPrefix,   getNamespaceForURI,   getParent,   getQName,   getStringValue,   getText,   indexOf,   node,   nodeCount,   nodeIterator,   processingInstruction,   processingInstructions,   processingInstructions,   remove,   removeNode,   removeProcessingInstruction,   setAttributeList,   setAttributes,   setContent,   setDocument,   setParent,   setQName,   supportsParent
Methods from org.dom4j.tree.AbstractElement:
accept,   add,   add,   add,   add,   add,   add,   add,   add,   add,   addAttribute,   addAttribute,   addCDATA,   addComment,   addElement,   addEntity,   addNamespace,   addNewNode,   addNewNode,   addNode,   addNode,   addProcessingInstruction,   addProcessingInstruction,   addText,   additionalNamespaces,   additionalNamespaces,   appendAttributes,   asXML,   attribute,   attribute,   attribute,   attribute,   attributeCount,   attributeIterator,   attributeList,   attributeList,   attributeValue,   attributeValue,   attributeValue,   attributeValue,   attributes,   childAdded,   childRemoved,   createAttributeList,   createAttributeList,   createCopy,   createCopy,   createCopy,   createElement,   createElement,   createSingleIterator,   declaredNamespaces,   element,   element,   element,   elementIterator,   elementIterator,   elementIterator,   elementIterator,   elementText,   elementText,   elementTextTrim,   elementTextTrim,   elements,   elements,   elements,   elements,   ensureAttributesCapacity,   getData,   getDocumentFactory,   getName,   getNamespace,   getNamespaceForPrefix,   getNamespaceForURI,   getNamespacePrefix,   getNamespaceURI,   getNamespacesForURI,   getNodeType,   getPath,   getQName,   getQualifiedName,   getStringValue,   getUniquePath,   getXPathNameStep,   getXPathResult,   hasMixedContent,   indexOf,   isRootElement,   isTextOnly,   node,   nodeCount,   nodeIterator,   normalize,   processingInstruction,   processingInstructions,   processingInstructions,   remove,   remove,   remove,   remove,   remove,   remove,   remove,   remove,   remove,   removeNode,   removeProcessingInstruction,   setAttributeValue,   setAttributeValue,   setAttributes,   setData,   setName,   setNamespace,   setText,   toString,   write
Methods from org.dom4j.tree.AbstractBranch:
add,   add,   add,   add,   addElement,   addElement,   addElement,   addElement,   addNode,   addNode,   appendContent,   childAdded,   childRemoved,   content,   contentList,   contentRemoved,   createContentList,   createContentList,   createEmptyList,   createResultList,   createSingleResultList,   elementByID,   elementID,   getContentAsStringValue,   getContentAsText,   getText,   getTextTrim,   hasContent,   indexOf,   invalidNodeTypeAddException,   isReadOnly,   node,   nodeCount,   nodeIterator,   remove,   remove,   remove,   remove,   removeNode,   setProcessingInstructions
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.tree.DefaultElement Detail:
 public  void add(Attribute attribute) 
 protected  void addNewNode(Node node) 
 public List additionalNamespaces() 
 public List additionalNamespaces(String defaultNamespaceURI) 
 public Attribute attribute(int index) 
 public Attribute attribute(String name) 
 public Attribute attribute(QName qName) 
 public Attribute attribute(String name,
    Namespace namespace) 
 public int attributeCount() 
 public Iterator attributeIterator() 
 protected List attributeList() 
 protected List attributeList(int size) 
 public List attributes() 
 public  void clearContent() 
 public Object clone() 
 protected List contentList() 
 public List declaredNamespaces() 
 public Element element(String name) 
 public Element element(QName qName) 
 public Element element(String name,
    Namespace namespace) 
 public Document getDocument() 
 protected DocumentFactory getDocumentFactory() 
 public Namespace getNamespaceForPrefix(String prefix) 
 public Namespace getNamespaceForURI(String uri) 
 public Element getParent() 
 public QName getQName() 
 public String getStringValue() 
 public String getText() 
 public int indexOf(Node node) 
 public Node node(int index) 
 public int nodeCount() 
 public Iterator nodeIterator() 
 public ProcessingInstruction processingInstruction(String target) 
 public List processingInstructions() 
 public List processingInstructions(String target) 
 public boolean remove(Attribute attribute) 
 protected boolean removeNode(Node node) 
 public boolean removeProcessingInstruction(String target) 
 protected  void setAttributeList(List attributeList) 
 public  void setAttributes(List attributes) 
 public  void setContent(List content) 
 public  void setDocument(Document document) 
 public  void setParent(Element parent) 
 public  void setQName(QName name) 
 public boolean supportsParent()