public class DocumentImpl extends BranchImpl implements Document
| Constructor and Description |
|---|
DocumentImpl(org.dom4j.Document document) |
| Modifier and Type | Method and Description |
|---|---|
<T,V extends Visitor<T>> |
accept(V visitor) |
Document |
addComment(java.lang.String comment) |
Document |
addDocumentType(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId) |
Document |
clone() |
boolean |
equals(java.lang.Object object) |
DocumentType |
getDocumentType() |
Element |
getRootElement() |
org.dom4j.Document |
getWrappedDocument() |
java.lang.String |
getXMLEncoding() |
int |
hashCode() |
void |
setRootElement(Element rootElement) |
void |
setXMLEncoding(java.lang.String encoding) |
java.lang.String |
toString() |
add, add, add, add, addElement, addElement, addElement, appendContent, clearContent, content, elementByID, getWrappedBranch, indexOf, node, nodeCount, nodeIterator, normalize, processingInstruction, processingInstructions, processingInstructions, remove, remove, remove, remove, removeProcessingInstruction, setContent, setProcessingInstructionsasXML, asXPathResult, compactString, detach, formattedString, formattedString, formattedString, formattedString, getDocument, getName, getParent, getPath, getPath, getStringValue, getText, getUniquePath, getUniquePath, getWrappedNode, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setName, setText, supportsParent, valueOf, writefinalize, getClass, notify, notifyAll, wait, wait, waitadd, add, add, add, addElement, addElement, addElement, appendContent, clearContent, content, elementByID, indexOf, node, nodeCount, nodeIterator, normalize, processingInstruction, processingInstructions, processingInstructions, remove, remove, remove, remove, removeProcessingInstruction, setContent, setProcessingInstructionsasXML, asXPathResult, compactString, detach, formattedString, formattedString, formattedString, formattedString, getDocument, getName, getParent, getPath, getPath, getStringValue, getText, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setName, setText, supportsParent, valueOf, writepublic <T,V extends Visitor<T>> T accept(V visitor)
public Document addComment(java.lang.String comment)
addComment in interface Documentpublic Document addDocumentType(java.lang.String name, java.lang.String publicId, java.lang.String systemId)
addDocumentType in interface Documentpublic Document clone()
public boolean equals(java.lang.Object object)
equals in class BranchImplpublic DocumentType getDocumentType()
getDocumentType in interface Documentpublic Element getRootElement()
getRootElement in interface Documentpublic org.dom4j.Document getWrappedDocument()
public java.lang.String getXMLEncoding()
getXMLEncoding in interface Documentpublic int hashCode()
hashCode in class BranchImplpublic void setRootElement(Element rootElement)
setRootElement in interface Documentpublic void setXMLEncoding(java.lang.String encoding)
setXMLEncoding in interface Documentpublic java.lang.String toString()
toString in class BranchImpl