com.liferay.portal.kernel.xml
Interface Document
- All Superinterfaces:
- Branch, Node, Serializable
- All Known Implementing Classes:
- DocumentImpl
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 |
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)
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)