| Modifier and Type | Field and Description |
|---|---|
protected XMLDocumentType |
docType |
protected XMLElement |
root |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Constructor and Description |
|---|
XMLDocument()
Constructor.
|
cloned, compareDocumentPosition, getAttributes, getBaseURI, getFeature, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getUserData, hasAttributes, insertBefore, isAncestor, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, removeChild, replaceChild, setNodeValue, setParent, setPrefix, setUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompareDocumentPosition, getAttributes, getBaseURI, getFeature, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getUserData, hasAttributes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, removeChild, replaceChild, setNodeValue, setPrefix, setUserDataprotected XMLDocumentType docType
protected XMLElement root
public void setDocumentType(XMLDocumentType docType)
public void setDocumentElement(XMLElement root)
public Node appendChild(Node newChild)
appendChild in interface NodeappendChild in class XMLNodepublic XMLNode getFirstChild()
getFirstChild in interface NodegetFirstChild in class XMLNodepublic XMLNode getLastChild()
getLastChild in interface NodegetLastChild in class XMLNodepublic boolean hasChildNodes()
hasChildNodes in interface NodehasChildNodes in class XMLNodepublic NodeList getChildNodes()
getChildNodes in interface NodegetChildNodes in class XMLNodepublic static XMLDocument create(XMLStreamEventsSync stream) throws XMLException, IOException
XMLExceptionIOExceptionpublic static AsyncSupplier<XMLDocument,Exception> create(XMLStreamEventsAsync stream)
public String getNodeName()
getNodeName in interface Nodepublic short getNodeType()
getNodeType in interface Nodepublic XMLDocument cloneNode(boolean deep)
public DocumentType getDoctype()
getDoctype in interface Documentpublic XMLDomImplementation getImplementation()
getImplementation in interface Documentpublic XMLElement getDocumentElement()
getDocumentElement in interface Documentpublic XMLElement createElement(String tagName)
createElement in interface Documentpublic XMLElement createElementNS(String namespaceURI, String qualifiedName)
createElementNS in interface Documentpublic DocumentFragment createDocumentFragment()
createDocumentFragment in interface Documentpublic XMLText createTextNode(String data)
createTextNode in interface Documentpublic XMLComment createComment(String data)
createComment in interface Documentpublic XMLCData createCDATASection(String data)
createCDATASection in interface Documentpublic ProcessingInstruction createProcessingInstruction(String target, String data)
createProcessingInstruction in interface Documentpublic String getTextContent()
getTextContent in interface Nodepublic void setTextContent(String textContent)
setTextContent in interface Nodepublic void normalize()
public XMLAttribute createAttribute(String name)
createAttribute in interface Documentpublic Attr createAttributeNS(String namespaceURI, String qualifiedName)
createAttributeNS in interface Documentpublic EntityReference createEntityReference(String name)
createEntityReference in interface Documentpublic NodeList getElementsByTagName(String tagname)
getElementsByTagName in interface Documentpublic NodeList getElementsByTagNameNS(String namespaceURI, String localName)
getElementsByTagNameNS in interface Documentpublic XMLElement getElementById(String elementId)
getElementById in interface Documentprotected XMLElement getElementById(String id, XMLElement e)
public String getInputEncoding()
getInputEncoding in interface Documentpublic String getXmlEncoding()
getXmlEncoding in interface Documentpublic boolean getXmlStandalone()
getXmlStandalone in interface Documentpublic void setXmlStandalone(boolean xmlStandalone)
setXmlStandalone in interface Documentpublic String getXmlVersion()
getXmlVersion in interface Documentpublic void setXmlVersion(String xmlVersion)
setXmlVersion in interface Documentpublic boolean getStrictErrorChecking()
getStrictErrorChecking in interface Documentpublic void setStrictErrorChecking(boolean strictErrorChecking)
setStrictErrorChecking in interface Documentpublic String getDocumentURI()
getDocumentURI in interface Documentpublic void setDocumentURI(String documentURI)
setDocumentURI in interface Documentpublic Node importNode(Node importedNode, boolean deep)
importNode in interface Documentpublic DOMConfiguration getDomConfig()
getDomConfig in interface Documentpublic void normalizeDocument()
normalizeDocument in interface DocumentCopyright © 2019. All rights reserved.