org.basex.api.dom
Class BXAttr
java.lang.Object
org.basex.api.dom.BXNode
org.basex.api.dom.BXAttr
- All Implemented Interfaces:
- Attr, Node
public final class BXAttr
- extends BXNode
- implements Attr
DOM - Attribute implementation.
- Author:
- Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen
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 |
BXAttr(Nod n)
Constructor. |
Methods inherited from class org.basex.api.dom.BXNode |
appendChild, cloneNode, compareDocumentPosition, error, getAttributes, getBaseURI, getFeature, getLastChild, getNamespaceURI, getNod, getNodeType, getOwnerDocument, getPrefix, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, toString |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getFeature, getLastChild, getNamespaceURI, getNodeType, getOwnerDocument, getPrefix, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
BXAttr
public BXAttr(Nod n)
- Constructor.
- Parameters:
n
- node reference
getNodeName
public String getNodeName()
- Specified by:
getNodeName
in interface Node
- Overrides:
getNodeName
in class BXNode
getLocalName
public String getLocalName()
- Specified by:
getLocalName
in interface Node
- Overrides:
getLocalName
in class BXNode
getNodeValue
public String getNodeValue()
- Specified by:
getNodeValue
in interface Node
- Overrides:
getNodeValue
in class BXNode
getName
public String getName()
- Specified by:
getName
in interface Attr
getNextSibling
public Node getNextSibling()
- Specified by:
getNextSibling
in interface Node
- Overrides:
getNextSibling
in class BXNode
getPreviousSibling
public Node getPreviousSibling()
- Specified by:
getPreviousSibling
in interface Node
- Overrides:
getPreviousSibling
in class BXNode
getParentNode
public Node getParentNode()
- Specified by:
getParentNode
in interface Node
- Overrides:
getParentNode
in class BXNode
getOwnerElement
public Element getOwnerElement()
- Specified by:
getOwnerElement
in interface Attr
getValue
public String getValue()
- Specified by:
getValue
in interface Attr
isId
public boolean isId()
- Specified by:
isId
in interface Attr
getSpecified
public boolean getSpecified()
- Specified by:
getSpecified
in interface Attr
getSchemaTypeInfo
public TypeInfo getSchemaTypeInfo()
- Specified by:
getSchemaTypeInfo
in interface Attr
setValue
public void setValue(String value)
- Specified by:
setValue
in interface Attr
getFirstChild
public Node getFirstChild()
- Specified by:
getFirstChild
in interface Node
- Overrides:
getFirstChild
in class BXNode
getChildNodes
public NodeList getChildNodes()
- Specified by:
getChildNodes
in interface Node
- Overrides:
getChildNodes
in class BXNode