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, setProcessingInstructions
asXML, 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, write
add, add, add, add, addElement, addElement, addElement, appendContent, clearContent, content, elementByID, indexOf, node, nodeCount, nodeIterator, normalize, processingInstruction, processingInstructions, processingInstructions, remove, remove, remove, remove, removeProcessingInstruction, setContent, setProcessingInstructions
asXML, 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, write
public <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.Document
public com.liferay.portal.kernel.xml.Document addDocumentType(String name, String publicId, String systemId)
addDocumentType
in interface com.liferay.portal.kernel.xml.Document
public com.liferay.portal.kernel.xml.Document clone()
clone
in interface com.liferay.portal.kernel.xml.Document
clone
in class Object
public boolean equals(Object obj)
equals
in class BranchImpl
public com.liferay.portal.kernel.xml.DocumentType getDocumentType()
getDocumentType
in interface com.liferay.portal.kernel.xml.Document
public com.liferay.portal.kernel.xml.Element getRootElement()
getRootElement
in interface com.liferay.portal.kernel.xml.Document
public org.dom4j.Document getWrappedDocument()
public String getXMLEncoding()
getXMLEncoding
in interface com.liferay.portal.kernel.xml.Document
public int hashCode()
hashCode
in class BranchImpl
public void setRootElement(com.liferay.portal.kernel.xml.Element rootElement)
setRootElement
in interface com.liferay.portal.kernel.xml.Document
public void setXMLEncoding(String encoding)
setXMLEncoding
in interface com.liferay.portal.kernel.xml.Document
public String toString()
toString
in class BranchImpl