Liferay 6.1.10-ee-ga1

com.liferay.portal.kernel.xml
Interface Document

All Superinterfaces:
Branch, Node, Serializable

public interface Document
extends Branch


Method Summary
 Document addComment(String comment)
           
 Document addDocumentType(String name, String publicId, String systemId)
           
 String formattedString()
           
 String formattedString(String indent)
           
 String formattedString(String indent, boolean expandEmptyElements)
           
 String formattedString(String indent, boolean expandEmptyElements, boolean trimText)
           
 DocumentType getDocumentType()
           
 Element getRootElement()
           
 String getXMLEncoding()
           
 void setRootElement(Element rootElement)
           
 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, detach, 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)

formattedString

String formattedString()
                       throws IOException
Specified by:
formattedString in interface Branch
Specified by:
formattedString in interface Node
Throws:
IOException

formattedString

String formattedString(String indent)
                       throws IOException
Specified by:
formattedString in interface Branch
Specified by:
formattedString in interface Node
Throws:
IOException

formattedString

String formattedString(String indent,
                       boolean expandEmptyElements)
                       throws IOException
Specified by:
formattedString in interface Branch
Specified by:
formattedString in interface Node
Throws:
IOException

formattedString

String formattedString(String indent,
                       boolean expandEmptyElements,
                       boolean trimText)
                       throws IOException
Throws:
IOException

getDocumentType

DocumentType getDocumentType()

getRootElement

Element getRootElement()

getXMLEncoding

String getXMLEncoding()

setRootElement

void setRootElement(Element rootElement)

setXMLEncoding

void setXMLEncoding(String encoding)

Liferay 6.1.10-ee-ga1