com.liferay.portal.kernel.xml
Interface Document
- All Superinterfaces:
- Branch, Node, Serializable
public interface Document
- extends Branch
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 |
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)