org.dom4j.dom
public class DOMDocument extends DefaultDocument implements Document
DOMDocument implements an XML document which supports the W3C
DOM API.
Version: $Revision: 1.17 $
| Constructor Summary | |
|---|---|
| DOMDocument() | |
| DOMDocument(String name) | |
| DOMDocument(DOMElement rootElement) | |
| DOMDocument(DOMDocumentType docType) | |
| DOMDocument(DOMElement rootElement, DOMDocumentType docType) | |
| DOMDocument(String name, DOMElement rootElement, DOMDocumentType docType) | |
| Method Summary | |
|---|---|
| Node | appendChild(Node newChild) |
| Node | cloneNode(boolean deep) |
| Attr | createAttribute(String name) |
| Attr | createAttributeNS(String namespaceURI, String qualifiedName) |
| CDATASection | createCDATASection(String data) |
| Comment | createComment(String data) |
| DocumentFragment | createDocumentFragment() |
| Element | createElement(String name) |
| Element | createElementNS(String namespaceURI, String qualifiedName) |
| EntityReference | createEntityReference(String name) |
| ProcessingInstruction | createProcessingInstruction(String target, String data) |
| Text | createTextNode(String data) |
| NamedNodeMap | getAttributes() |
| NodeList | getChildNodes() |
| DocumentType | getDoctype() |
| Element | getDocumentElement() |
| protected DocumentFactory | getDocumentFactory() |
| Element | getElementById(String elementId) |
| NodeList | getElementsByTagName(String name) |
| NodeList | getElementsByTagNameNS(String namespace, String name) |
| Node | getFirstChild() |
| DOMImplementation | getImplementation() |
| Node | getLastChild() |
| String | getLocalName() |
| String | getNamespaceURI() |
| Node | getNextSibling() |
| String | getNodeName() |
| String | getNodeValue() |
| Document | getOwnerDocument() |
| Node | getParentNode() |
| String | getPrefix() |
| Node | getPreviousSibling() |
| boolean | hasAttributes() |
| boolean | hasChildNodes() |
| Node | importNode(Node importedNode, boolean deep) |
| Node | insertBefore(Node newChild, Node refChild) |
| boolean | isSupported(String feature, String version) |
| Node | removeChild(Node oldChild) |
| Node | replaceChild(Node newChild, Node oldChild) |
| void | setNodeValue(String nodeValue) |
| void | setPrefix(String prefix) |
| boolean | supports(String feature, String version) |