Liferay 6.0.5

com.liferay.portal.kernel.xml
Interface Document

All Superinterfaces:
Branch, Node, Serializable
All Known Implementing Classes:
DocumentImpl

public interface Document
extends Branch


Method Summary
 Document addComment(String comment)
           
 Document addDocType(String name, String publicId, String systemId)
           
 String formattedString()
           
 String formattedString(String indent)
           
 String formattedString(String indent, boolean expandEmptyElements)
           
 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
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)

addDocType

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

formattedString

String formattedString()
                       throws IOException
Throws:
IOException

formattedString

String formattedString(String indent)
                       throws IOException
Throws:
IOException

formattedString

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

getRootElement

Element getRootElement()

getXMLEncoding

String getXMLEncoding()

setRootElement

void setRootElement(Element rootElement)

setXMLEncoding

void setXMLEncoding(String encoding)

Liferay 6.0.5