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

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

DOMDocument implements an XML document which supports the W3C DOM API.

Fields inherited from org.dom4j.tree.DefaultDocument:
EMPTY_LIST,  EMPTY_ITERATOR
Fields inherited from org.dom4j.tree.AbstractDocument:
encoding
Fields inherited from org.dom4j.tree.AbstractBranch:
DEFAULT_CONTENT_LIST_SIZE
Fields inherited from org.dom4j.tree.AbstractNode:
NODE_TYPE_NAMES
Constructor:
 public DOMDocument() 
 public DOMDocument(String name) 
 public DOMDocument(DOMElement rootElement) 
 public DOMDocument(DOMDocumentType docType) 
 public DOMDocument(DOMElement rootElement,
    DOMDocumentType docType) 
 public DOMDocument(String name,
    DOMElement rootElement,
    DOMDocumentType docType) 
Method from org.dom4j.dom.DOMDocument Summary:
appendChild,   cloneNode,   createAttribute,   createAttributeNS,   createCDATASection,   createComment,   createDocumentFragment,   createElement,   createElementNS,   createEntityReference,   createProcessingInstruction,   createTextNode,   getAttributes,   getChildNodes,   getDoctype,   getDocumentElement,   getDocumentFactory,   getElementById,   getElementsByTagName,   getElementsByTagNameNS,   getFirstChild,   getImplementation,   getLastChild,   getLocalName,   getNamespaceURI,   getNextSibling,   getNodeName,   getNodeValue,   getOwnerDocument,   getParentNode,   getPrefix,   getPreviousSibling,   hasAttributes,   hasChildNodes,   importNode,   insertBefore,   isSupported,   removeChild,   replaceChild,   setNodeValue,   setPrefix,   supports
Methods from org.dom4j.tree.DefaultDocument:
addDocType,   addNode,   addNode,   clearContent,   clone,   contentList,   getDocType,   getDocumentFactory,   getEntityResolver,   getName,   getRootElement,   getXMLEncoding,   processingInstruction,   processingInstructions,   processingInstructions,   removeNode,   removeProcessingInstruction,   rootElementAdded,   setContent,   setDocType,   setDocumentFactory,   setEntityResolver,   setName
Methods from org.dom4j.tree.AbstractDocument:
accept,   add,   addComment,   addElement,   addElement,   addElement,   addProcessingInstruction,   addProcessingInstruction,   asXML,   asXPathResult,   checkAddElementAllowed,   childAdded,   childRemoved,   getDocument,   getNodeType,   getPath,   getStringValue,   getUniquePath,   getXMLEncoding,   normalize,   remove,   rootElementAdded,   setRootElement,   setXMLEncoding,   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.DOMDocument Detail:
 public Node appendChild(Node newChild) throws DOMException 
 public Node cloneNode(boolean deep) 
 public Attr createAttribute(String name) throws DOMException 
 public Attr createAttributeNS(String namespaceURI,
    String qualifiedName) throws DOMException 
 public CDATASection createCDATASection(String data) throws DOMException 
 public Comment createComment(String data) 
 public DocumentFragment createDocumentFragment() 
 public Element createElement(String name) throws DOMException 
 public Element createElementNS(String namespaceURI,
    String qualifiedName) throws DOMException 
 public EntityReference createEntityReference(String name) throws DOMException 
 public ProcessingInstruction createProcessingInstruction(String target,
    String data) throws DOMException 
 public Text createTextNode(String data) 
 public NamedNodeMap getAttributes() 
 public NodeList getChildNodes() 
 public DocumentType getDoctype() 
 public Element getDocumentElement() 
 protected DocumentFactory getDocumentFactory() 
 public Element getElementById(String elementId) 
 public NodeList getElementsByTagName(String name) 
 public NodeList getElementsByTagNameNS(String namespace,
    String name) 
 public Node getFirstChild() 
 public DOMImplementation getImplementation() 
 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() 
 public boolean hasAttributes() 
 public boolean hasChildNodes() 
 public Node importNode(Node importedNode,
    boolean deep) throws DOMException 
 public Node insertBefore(Node newChild,
    Node refChild) throws DOMException 
 public boolean isSupported(String feature,
    String version) 
 public Node removeChild(Node oldChild) throws DOMException 
 public Node replaceChild(Node newChild,
    Node oldChild) throws DOMException 
 public  void setNodeValue(String nodeValue) throws DOMException 
 public  void setPrefix(String prefix) throws DOMException 
 public boolean supports(String feature,
    String version)