org.basex.api.dom
Class BXAttr
java.lang.Object
org.basex.api.dom.BXNode
org.basex.api.dom.BXAttr
- All Implemented Interfaces:
- org.w3c.dom.Attr, org.w3c.dom.Node
public final class BXAttr
- extends BXNode
- implements org.w3c.dom.Attr
DOM - Attribute Implementation.
- Author:
- Workgroup DBIS, University of Konstanz 2005-08, 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, 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 class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, compareDocumentPosition, 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 java.lang.String getNodeName()
- Specified by:
getNodeName
in interface org.w3c.dom.Node
- Overrides:
getNodeName
in class BXNode
getLocalName
public java.lang.String getLocalName()
- Specified by:
getLocalName
in interface org.w3c.dom.Node
- Overrides:
getLocalName
in class BXNode
getNodeValue
public java.lang.String getNodeValue()
- Specified by:
getNodeValue
in interface org.w3c.dom.Node
- Overrides:
getNodeValue
in class BXNode
getName
public java.lang.String getName()
- Specified by:
getName
in interface org.w3c.dom.Attr
getNextSibling
public org.w3c.dom.Node getNextSibling()
- Specified by:
getNextSibling
in interface org.w3c.dom.Node
- Overrides:
getNextSibling
in class BXNode
getPreviousSibling
public org.w3c.dom.Node getPreviousSibling()
- Specified by:
getPreviousSibling
in interface org.w3c.dom.Node
- Overrides:
getPreviousSibling
in class BXNode
getParentNode
public org.w3c.dom.Node getParentNode()
- Specified by:
getParentNode
in interface org.w3c.dom.Node
- Overrides:
getParentNode
in class BXNode
getOwnerElement
public org.w3c.dom.Element getOwnerElement()
- Specified by:
getOwnerElement
in interface org.w3c.dom.Attr
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interface org.w3c.dom.Attr
isId
public boolean isId()
- Specified by:
isId
in interface org.w3c.dom.Attr
getSpecified
public boolean getSpecified()
- Specified by:
getSpecified
in interface org.w3c.dom.Attr
getSchemaTypeInfo
public org.w3c.dom.TypeInfo getSchemaTypeInfo()
- Specified by:
getSchemaTypeInfo
in interface org.w3c.dom.Attr
getAttributes
public org.w3c.dom.NamedNodeMap getAttributes()
- Specified by:
getAttributes
in interface org.w3c.dom.Node
- Overrides:
getAttributes
in class BXNode
setValue
public void setValue(java.lang.String value)
- Specified by:
setValue
in interface org.w3c.dom.Attr
getFirstChild
public org.w3c.dom.Node getFirstChild()
- Specified by:
getFirstChild
in interface org.w3c.dom.Node
- Overrides:
getFirstChild
in class BXNode
getChildNodes
public org.w3c.dom.NodeList getChildNodes()
- Specified by:
getChildNodes
in interface org.w3c.dom.Node
- Overrides:
getChildNodes
in class BXNode