com.jclark.xsl.dom
Class AttributeNode

java.lang.Object
  extended by com.jclark.xsl.dom.NodeBase
      extended by com.jclark.xsl.dom.AttributeNode
All Implemented Interfaces:
Node

 class AttributeNode
extends NodeBase


Field Summary
(package private)  Name name
           
(package private)  java.lang.String value
           
 
Fields inherited from class com.jclark.xsl.dom.NodeBase
domNode, level, parent, root
 
Fields inherited from interface com.jclark.xsl.om.Node
ATTRIBUTE, COMMENT, ELEMENT, N_TYPES, PROCESSING_INSTRUCTION, ROOT, TEXT
 
Constructor Summary
AttributeNode(Name name, org.w3c.dom.Node domNode, ContainerNode parent, int childIndex)
           
 
Method Summary
 java.lang.String getData()
          Returns text for TEXT node; value for attribute node; content for comment node; content after PI for PI node; null otherwise.
 SafeNodeIterator getFollowingSiblings()
           
 Name getName()
          Returns element type name for element; attribute name for an attribute; target for a PI.
 byte getType()
           
 
Methods inherited from class com.jclark.xsl.dom.NodeBase
compareTo, equals, getAttribute, getAttributes, getAttributeValue, getChildren, getElementWithId, getGeneratedId, getLineNumber, getNamespacePrefixMap, getParent, getRoot, getUnparsedEntityURI, getURL, isId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

final Name name

value

java.lang.String value
Constructor Detail

AttributeNode

AttributeNode(Name name,
              org.w3c.dom.Node domNode,
              ContainerNode parent,
              int childIndex)
Method Detail

getType

public byte getType()

getName

public Name getName()
Description copied from interface: Node
Returns element type name for element; attribute name for an attribute; target for a PI.

Specified by:
getName in interface Node
Overrides:
getName in class NodeBase

getData

public final java.lang.String getData()
Description copied from interface: Node
Returns text for TEXT node; value for attribute node; content for comment node; content after PI for PI node; null otherwise.

Specified by:
getData in interface Node
Overrides:
getData in class NodeBase

getFollowingSiblings

public SafeNodeIterator getFollowingSiblings()
Specified by:
getFollowingSiblings in interface Node
Overrides:
getFollowingSiblings in class NodeBase