public class DocumentImpl extends BranchImpl implements com.liferay.portal.kernel.xml.Document
| Constructor and Description |
|---|
DocumentImpl(org.dom4j.Document document) |
| Modifier and Type | Method and Description |
|---|---|
<T,V extends com.liferay.portal.kernel.xml.Visitor<T>> |
accept(V visitor) |
com.liferay.portal.kernel.xml.Document |
addComment(String comment) |
com.liferay.portal.kernel.xml.Document |
addDocumentType(String name,
String publicId,
String systemId) |
com.liferay.portal.kernel.xml.Document |
clone() |
boolean |
equals(Object obj) |
com.liferay.portal.kernel.xml.DocumentType |
getDocumentType() |
com.liferay.portal.kernel.xml.Element |
getRootElement() |
org.dom4j.Document |
getWrappedDocument() |
String |
getXMLEncoding() |
int |
hashCode() |
void |
setRootElement(com.liferay.portal.kernel.xml.Element rootElement) |
void |
setXMLEncoding(String encoding) |
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, writeadd, 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 com.liferay.portal.kernel.xml.Visitor<T>> T accept(V visitor)
public com.liferay.portal.kernel.xml.Document addComment(String comment)
addComment in interface com.liferay.portal.kernel.xml.Documentpublic com.liferay.portal.kernel.xml.Document addDocumentType(String name, String publicId, String systemId)
addDocumentType in interface com.liferay.portal.kernel.xml.Documentpublic com.liferay.portal.kernel.xml.Document clone()
public boolean equals(Object obj)
equals in class BranchImplpublic com.liferay.portal.kernel.xml.DocumentType getDocumentType()
getDocumentType in interface com.liferay.portal.kernel.xml.Documentpublic com.liferay.portal.kernel.xml.Element getRootElement()
getRootElement in interface com.liferay.portal.kernel.xml.Documentpublic org.dom4j.Document getWrappedDocument()
public String getXMLEncoding()
getXMLEncoding in interface com.liferay.portal.kernel.xml.Documentpublic int hashCode()
hashCode in class BranchImplpublic void setRootElement(com.liferay.portal.kernel.xml.Element rootElement)
setRootElement in interface com.liferay.portal.kernel.xml.Documentpublic void setXMLEncoding(String encoding)
setXMLEncoding in interface com.liferay.portal.kernel.xml.Documentpublic String toString()
toString in class BranchImpl