public interface XmlDocument extends XmlContainer, Cloneable
Object clone() throws CloneNotSupportedException
CloneNotSupportedExceptionIterable children()
XmlElement getDocumentElement()
XmlElement requiredElement(XmlNamespace n, String name)
XmlElement element(XmlNamespace n, String name)
XmlElement element(XmlNamespace n, String name, boolean create)
Iterable notations()
Iterable unparsedEntities()
String getBaseUri()
String getCharacterEncodingScheme()
void setCharacterEncodingScheme(String characterEncoding)
Boolean isStandalone()
String getVersion()
boolean isAllDeclarationsProcessed()
void setDocumentElement(XmlElement rootElement)
void addChild(Object child)
void insertChild(int pos,
Object child)
void removeAllChildren()
XmlComment newComment(String content)
XmlComment addComment(String content)
XmlDoctype newDoctype(String systemIdentifier, String publicIdentifier)
XmlDoctype addDoctype(String systemIdentifier, String publicIdentifier)
XmlElement addDocumentElement(String name)
XmlElement addDocumentElement(XmlNamespace namespace, String name)
XmlProcessingInstruction newProcessingInstruction(String target, String content)
XmlProcessingInstruction addProcessingInstruction(String target, String content)
void removeAllUnparsedEntities()
XmlNotation addNotation(String name, String systemIdentifier, String publicIdentifier, String declarationBaseUri)
void removeAllNotations()
Copyright © 2013. All Rights Reserved.