Package org.basex.api.dom
Class BXDoc
java.lang.Object
org.basex.api.dom.BXNode
org.basex.api.dom.BXDoc
DOM - Document implementation.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Field Summary
Fields inherited from interface org.w3c.dom.Node
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAttribute(String name) createAttributeNS(String uri, String name) org.basex.api.dom.BXCDatacreateCDATASection(String value) createComment(String value) org.basex.api.dom.BXDocFragcreateElement(String name) createElementNS(String uri, String name) createEntityReference(String name) createProcessingInstruction(String name, String value) createTextNode(String value) getElementById(String id) org.basex.api.dom.BXNListgetElementsByTagName(String name) org.basex.api.dom.BXNListgetElementsByTagNameNS(String uri, String name) booleanbooleanimportNode(Node node, boolean deep) voidrenameNode(Node node, String uri, String name) voidsetDocumentURI(String uri) voidsetStrictErrorChecking(boolean value) voidsetXmlStandalone(boolean value) voidsetXmlVersion(String value) Methods inherited from class org.basex.api.dom.BXNode
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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.w3c.dom.Node
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
-
Constructor Details
-
BXDoc
Constructor.- Parameters:
node- node reference
-
-
Method Details
-
getOwnerDocument
- Specified by:
getOwnerDocumentin interfaceNode- Overrides:
getOwnerDocumentin classBXNode
-
adoptNode
-
createAttribute
- Specified by:
createAttributein interfaceDocument
-
createAttributeNS
- Specified by:
createAttributeNSin interfaceDocument
-
createCDATASection
- Specified by:
createCDATASectionin interfaceDocument
-
createComment
- Specified by:
createCommentin interfaceDocument
-
createDocumentFragment
public org.basex.api.dom.BXDocFrag createDocumentFragment()- Specified by:
createDocumentFragmentin interfaceDocument
-
createElement
- Specified by:
createElementin interfaceDocument
-
createElementNS
- Specified by:
createElementNSin interfaceDocument
-
createEntityReference
- Specified by:
createEntityReferencein interfaceDocument
-
createProcessingInstruction
- Specified by:
createProcessingInstructionin interfaceDocument
-
createTextNode
- Specified by:
createTextNodein interfaceDocument
-
getDoctype
- Specified by:
getDoctypein interfaceDocument
-
getDocumentElement
- Specified by:
getDocumentElementin interfaceDocument
-
getDocumentURI
- Specified by:
getDocumentURIin interfaceDocument
-
getDomConfig
- Specified by:
getDomConfigin interfaceDocument
-
getElementById
- Specified by:
getElementByIdin interfaceDocument
-
getElementsByTagName
- Specified by:
getElementsByTagNamein interfaceDocument
-
getElementsByTagNameNS
- Specified by:
getElementsByTagNameNSin interfaceDocument
-
getImplementation
- Specified by:
getImplementationin interfaceDocument
-
getInputEncoding
- Specified by:
getInputEncodingin interfaceDocument
-
getStrictErrorChecking
public boolean getStrictErrorChecking()- Specified by:
getStrictErrorCheckingin interfaceDocument
-
getXmlEncoding
- Specified by:
getXmlEncodingin interfaceDocument
-
getXmlStandalone
public boolean getXmlStandalone()- Specified by:
getXmlStandalonein interfaceDocument
-
getXmlVersion
- Specified by:
getXmlVersionin interfaceDocument
-
importNode
- Specified by:
importNodein interfaceDocument
-
normalizeDocument
public void normalizeDocument()- Specified by:
normalizeDocumentin interfaceDocument
-
renameNode
- Specified by:
renameNodein interfaceDocument
-
setDocumentURI
- Specified by:
setDocumentURIin interfaceDocument
-
setStrictErrorChecking
public void setStrictErrorChecking(boolean value) - Specified by:
setStrictErrorCheckingin interfaceDocument
-
setXmlStandalone
public void setXmlStandalone(boolean value) - Specified by:
setXmlStandalonein interfaceDocument
-
setXmlVersion
- Specified by:
setXmlVersionin interfaceDocument
-