Liferay 6.2-ce-ga5

com.liferay.portal.xml
Class DocumentImpl

java.lang.Object
  extended by com.liferay.portal.xml.NodeImpl
      extended by com.liferay.portal.xml.BranchImpl
          extended by com.liferay.portal.xml.DocumentImpl
All Implemented Interfaces:
Branch, Document, Node, Serializable

public class DocumentImpl
extends BranchImpl
implements Document

See Also:
Serialized Form

Constructor Summary
DocumentImpl(org.dom4j.Document document)
           
 
Method Summary
<T,V extends Visitor<T>>
T
accept(V visitor)
           
 Document addComment(String comment)
           
 Document addDocumentType(String name, String publicId, String systemId)
           
 boolean equals(Object obj)
           
 DocumentType getDocumentType()
           
 Element getRootElement()
           
 org.dom4j.Document getWrappedDocument()
           
 String getXMLEncoding()
           
 int hashCode()
           
 void setRootElement(Element rootElement)
           
 void setXMLEncoding(String encoding)
           
 String toString()
           
 
Methods inherited from class com.liferay.portal.xml.BranchImpl
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
 
Methods inherited from class com.liferay.portal.xml.NodeImpl
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.kernel.xml.Branch
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
 
Methods inherited from interface com.liferay.portal.kernel.xml.Node
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
 

Constructor Detail

DocumentImpl

public DocumentImpl(org.dom4j.Document document)
Method Detail

accept

public <T,V extends Visitor<T>> T accept(V visitor)
Specified by:
accept in interface Node
Overrides:
accept in class NodeImpl

addComment

public Document addComment(String comment)
Specified by:
addComment in interface Document

addDocumentType

public Document addDocumentType(String name,
                                String publicId,
                                String systemId)
Specified by:
addDocumentType in interface Document

equals

public boolean equals(Object obj)
Overrides:
equals in class BranchImpl

getDocumentType

public DocumentType getDocumentType()
Specified by:
getDocumentType in interface Document

getRootElement

public Element getRootElement()
Specified by:
getRootElement in interface Document

getWrappedDocument

public org.dom4j.Document getWrappedDocument()

getXMLEncoding

public String getXMLEncoding()
Specified by:
getXMLEncoding in interface Document

hashCode

public int hashCode()
Overrides:
hashCode in class BranchImpl

setRootElement

public void setRootElement(Element rootElement)
Specified by:
setRootElement in interface Document

setXMLEncoding

public void setXMLEncoding(String encoding)
Specified by:
setXMLEncoding in interface Document

toString

public String toString()
Overrides:
toString in class BranchImpl

Liferay 6.2-ce-ga5