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
appendChild, cloneNode, compareDocumentPosition, get, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
public BXDoc(ANode node)
node
- node referencepublic BXDoc getOwnerDocument()
getOwnerDocument
in interface Node
getOwnerDocument
in class BXNode
public BXAttr createAttribute(String name)
createAttribute
in interface Document
public BXAttr createAttributeNS(String uri, String name)
createAttributeNS
in interface Document
public org.basex.api.dom.BXCData createCDATASection(String value)
createCDATASection
in interface Document
public BXComm createComment(String value)
createComment
in interface Document
public org.basex.api.dom.BXDocFrag createDocumentFragment()
createDocumentFragment
in interface Document
public BXElem createElement(String name)
createElement
in interface Document
public BXElem createElementNS(String uri, String name)
createElementNS
in interface Document
public EntityReference createEntityReference(String name)
createEntityReference
in interface Document
public BXPI createProcessingInstruction(String name, String value)
createProcessingInstruction
in interface Document
public BXText createTextNode(String value)
createTextNode
in interface Document
public DocumentType getDoctype()
getDoctype
in interface Document
public BXElem getDocumentElement()
getDocumentElement
in interface Document
public String getDocumentURI()
getDocumentURI
in interface Document
public DOMConfiguration getDomConfig()
getDomConfig
in interface Document
public BXElem getElementById(String id)
getElementById
in interface Document
public org.basex.api.dom.BXNList getElementsByTagName(String name)
getElementsByTagName
in interface Document
public org.basex.api.dom.BXNList getElementsByTagNameNS(String uri, String name)
getElementsByTagNameNS
in interface Document
public DOMImplementation getImplementation()
getImplementation
in interface Document
public String getInputEncoding()
getInputEncoding
in interface Document
public boolean getStrictErrorChecking()
getStrictErrorChecking
in interface Document
public String getXmlEncoding()
getXmlEncoding
in interface Document
public boolean getXmlStandalone()
getXmlStandalone
in interface Document
public String getXmlVersion()
getXmlVersion
in interface Document
public BXNode importNode(Node node, boolean deep)
importNode
in interface Document
public void normalizeDocument()
normalizeDocument
in interface Document
public BXNode renameNode(Node node, String uri, String name)
renameNode
in interface Document
public void setDocumentURI(String uri)
setDocumentURI
in interface Document
public void setStrictErrorChecking(boolean value)
setStrictErrorChecking
in interface Document
public void setXmlStandalone(boolean value)
setXmlStandalone
in interface Document
public void setXmlVersion(String value)
setXmlVersion
in interface Document
Copyright © 2005–2015 BaseX Team. All rights reserved.