org.basex.api.dom
Class BXAttr

java.lang.Object
  extended by org.basex.api.dom.BXNode
      extended by 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

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
BXAttr(Nod n)
          Constructor.
 
Method Summary
 NodeList getChildNodes()
           
 Node getFirstChild()
           
 String getLocalName()
           
 String getName()
           
 Node getNextSibling()
           
 String getNodeName()
           
 String getNodeValue()
           
 Element getOwnerElement()
           
 Node getParentNode()
           
 Node getPreviousSibling()
           
 TypeInfo getSchemaTypeInfo()
           
 boolean getSpecified()
           
 String getValue()
           
 boolean isId()
           
 void setValue(String value)
           
 
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 class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 

Constructor Detail

BXAttr

public BXAttr(Nod n)
Constructor.

Parameters:
n - node reference
Method Detail

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