Liferay 6.2.0

com.liferay.portal.kernel.xml
Interface Document

All Superinterfaces:
Branch, Node, Serializable

public interface Document
extends Branch


Method Summary
abstract  Document addComment(String comment)
           
abstract  Document addDocumentType(String name, String publicId, String systemId)
           
abstract  DocumentType getDocumentType()
           
abstract  Element getRootElement()
           
abstract  String getXMLEncoding()
           
abstract  void setRootElement(Element rootElement)
           
abstract  void setXMLEncoding(String encoding)
           
 
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
accept, 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
 

Method Detail

addComment

Document addComment(String comment)

addDocumentType

Document addDocumentType(String name,
                         String publicId,
                         String systemId)

getDocumentType

DocumentType getDocumentType()

getRootElement

Element getRootElement()

getXMLEncoding

String getXMLEncoding()

setRootElement

void setRootElement(Element rootElement)

setXMLEncoding

void setXMLEncoding(String encoding)

Liferay 6.2.0