Liferay 7.0-ga1 portal-impl

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:
com.liferay.portal.kernel.xml.Branch, com.liferay.portal.kernel.xml.Document, com.liferay.portal.kernel.xml.Node, Serializable, Cloneable

public class DocumentImpl
extends BranchImpl
implements com.liferay.portal.kernel.xml.Document

See Also:
Serialized Form

Constructor Summary
DocumentImpl(org.dom4j.Document document)
           
 
Method Summary
<T,V extends com.liferay.portal.kernel.xml.Visitor<T>>
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()
           
 
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
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 com.liferay.portal.kernel.xml.Visitor<T>> T accept(V visitor)
Specified by:
accept in interface com.liferay.portal.kernel.xml.Node
Overrides:
accept in class NodeImpl

addComment

public com.liferay.portal.kernel.xml.Document addComment(String comment)
Specified by:
addComment in interface com.liferay.portal.kernel.xml.Document

addDocumentType

public com.liferay.portal.kernel.xml.Document addDocumentType(String name,
                                                              String publicId,
                                                              String systemId)
Specified by:
addDocumentType in interface com.liferay.portal.kernel.xml.Document

clone

public com.liferay.portal.kernel.xml.Document clone()
Specified by:
clone in interface com.liferay.portal.kernel.xml.Document
Overrides:
clone in class Object

equals

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

getDocumentType

public com.liferay.portal.kernel.xml.DocumentType getDocumentType()
Specified by:
getDocumentType in interface com.liferay.portal.kernel.xml.Document

getRootElement

public com.liferay.portal.kernel.xml.Element getRootElement()
Specified by:
getRootElement in interface com.liferay.portal.kernel.xml.Document

getWrappedDocument

public org.dom4j.Document getWrappedDocument()

getXMLEncoding

public String getXMLEncoding()
Specified by:
getXMLEncoding in interface com.liferay.portal.kernel.xml.Document

hashCode

public int hashCode()
Overrides:
hashCode in class BranchImpl

setRootElement

public void setRootElement(com.liferay.portal.kernel.xml.Element rootElement)
Specified by:
setRootElement in interface com.liferay.portal.kernel.xml.Document

setXMLEncoding

public void setXMLEncoding(String encoding)
Specified by:
setXMLEncoding in interface com.liferay.portal.kernel.xml.Document

toString

public String toString()
Overrides:
toString in class BranchImpl

Liferay 7.0-ga1 portal-impl