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
public static BXNode get(ANode node)
node
- input nodenull
if input is null
as wellpublic String getNodeName()
getNodeName
in interface Node
public final short getNodeType()
getNodeType
in interface Node
public String getNodeValue()
getNodeValue
in interface Node
public String getLocalName()
getLocalName
in interface Node
public final short compareDocumentPosition(Node node)
compareDocumentPosition
in interface Node
public org.basex.api.dom.BXNNode getAttributes()
getAttributes
in interface Node
public final String getBaseURI()
getBaseURI
in interface Node
public org.basex.api.dom.BXNList getChildNodes()
getChildNodes
in interface Node
public BXNode getFirstChild()
getFirstChild
in interface Node
public final BXNode getLastChild()
getLastChild
in interface Node
public String getNamespaceURI()
getNamespaceURI
in interface Node
public BXNode getNextSibling()
getNextSibling
in interface Node
public BXNode getPreviousSibling()
getPreviousSibling
in interface Node
public final BXNode getParentNode()
getParentNode
in interface Node
public final boolean hasChildNodes()
hasChildNodes
in interface Node
public final boolean isSameNode(Node node)
isSameNode
in interface Node
public BXDoc getOwnerDocument()
getOwnerDocument
in interface Node
public final boolean hasAttributes()
hasAttributes
in interface Node
public final Object getFeature(String feature, String version)
getFeature
in interface Node
public final String getTextContent()
getTextContent
in interface Node
public final BXNode appendChild(Node node)
appendChild
in interface Node
public final Object getUserData(String name)
getUserData
in interface Node
public final boolean isSupported(String name, String version)
isSupported
in interface Node
public final BXNode insertBefore(Node node, Node ref)
insertBefore
in interface Node
public final boolean isDefaultNamespace(String uri)
isDefaultNamespace
in interface Node
public final boolean isEqualNode(Node cmp)
isEqualNode
in interface Node
public final String lookupNamespaceURI(String prefix)
lookupNamespaceURI
in interface Node
public final String lookupPrefix(String uri)
lookupPrefix
in interface Node
public final BXNode removeChild(Node node)
removeChild
in interface Node
public final BXNode replaceChild(Node node, Node old)
replaceChild
in interface Node
public final void setNodeValue(String value)
setNodeValue
in interface Node
public final void setTextContent(String value)
setTextContent
in interface Node
public final Object setUserData(String name, Object value, UserDataHandler handler)
setUserData
in interface Node
public final ANode getNode()
Copyright © 2005–2023 BaseX Team. All rights reserved.