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

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

DOMElement implements an XML element which supports the W3C DOM API.

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 DOMElement(String name) 
 public DOMElement(QName qname) 
 public DOMElement(QName qname,
    int attributeCount) 
 public DOMElement(String name,
    Namespace namespace) 
Method from org.dom4j.dom.DOMElement Summary:
appendChild,   attribute,   attribute,   cloneNode,   createAttribute,   getAttribute,   getAttributeNS,   getAttributeNode,   getAttributeNodeNS,   getAttributes,   getChildNodes,   getDocumentFactory,   getElementsByTagName,   getElementsByTagNameNS,   getFirstChild,   getLastChild,   getLocalName,   getNamespaceURI,   getNextSibling,   getNodeName,   getNodeValue,   getOwnerDocument,   getParentNode,   getPrefix,   getPreviousSibling,   getQName,   getTagName,   hasAttribute,   hasAttributeNS,   hasAttributes,   hasChildNodes,   insertBefore,   isSupported,   removeAttribute,   removeAttributeNS,   removeAttributeNode,   removeChild,   replaceChild,   setAttribute,   setAttributeNS,   setAttributeNode,   setAttributeNodeNS,   setNodeValue,   setPrefix,   supports
Methods from org.dom4j.tree.DefaultElement:
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.dom.DOMElement Detail:
 public Node appendChild(Node newChild) throws DOMException 
 protected Attribute attribute(Attr attr) 
 protected Attribute attribute(String namespaceURI,
    String localName) 
 public Node cloneNode(boolean deep) 
 protected Attribute createAttribute(Attr newAttr) 
 public String getAttribute(String name) 
 public String getAttributeNS(String namespaceURI,
    String localName) 
 public Attr getAttributeNode(String name) 
 public Attr getAttributeNodeNS(String namespaceURI,
    String localName) 
 public NamedNodeMap getAttributes() 
 public NodeList getChildNodes() 
 protected DocumentFactory getDocumentFactory() 
 public NodeList getElementsByTagName(String name) 
 public NodeList getElementsByTagNameNS(String namespace,
    String lName) 
 public Node getFirstChild() 
 public Node getLastChild() 
 public String getLocalName() 
 public String getNamespaceURI() 
 public Node getNextSibling() 
 public String getNodeName() 
 public String getNodeValue() throws DOMException 
 public Document getOwnerDocument() 
 public Node getParentNode() 
 public String getPrefix() 
 public Node getPreviousSibling() 
 protected QName getQName(String namespace,
    String qualifiedName) 
 public String getTagName() 
 public boolean hasAttribute(String name) 
 public boolean hasAttributeNS(String namespaceURI,
    String localName) 
 public boolean hasAttributes() 
 public boolean hasChildNodes() 
 public Node insertBefore(Node newChild,
    Node refChild) throws DOMException 
 public boolean isSupported(String feature,
    String version) 
 public  void removeAttribute(String name) throws DOMException 
 public  void removeAttributeNS(String namespaceURI,
    String localName) throws DOMException 
 public Attr removeAttributeNode(Attr oldAttr) throws DOMException 
 public Node removeChild(Node oldChild) throws DOMException 
 public Node replaceChild(Node newChild,
    Node oldChild) throws DOMException 
 public  void setAttribute(String name,
    String value) throws DOMException 
 public  void setAttributeNS(String namespaceURI,
    String qualifiedName,
    String value) throws DOMException 
 public Attr setAttributeNode(Attr newAttr) throws DOMException 
 public Attr setAttributeNodeNS(Attr newAttr) throws DOMException 
 public  void setNodeValue(String nodeValue) throws DOMException 
 public  void setPrefix(String prefix) throws DOMException 
 public boolean supports(String feature,
    String version)