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, javax.xml.transform.SourceLocator

 class AttributeNode
extends NodeBase

represents an XML Element's Attribute constructed around a W3C level 1 DOM Attribute


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
ALLTYPES, ATTRIBUTE, COMMENT, ELEMENT, N_TYPES, NAMESPACE, PROCESSING_INSTRUCTION, ROOT, TEXT
 
Constructor Summary
AttributeNode(Name name, org.w3c.dom.Node domNode, ContainerNode parent, int childIndex)
           
 
Method Summary
 java.lang.String getData()
          default behavior -- return null.
 SafeNodeIterator getFollowingSiblings()
          as the name implies ...
 Name getName()
          default behavior -- return null.
 byte getType()
          returns one of: ELEMENT, TEXT, ATTRIBUTE, ROOT, PROCESSING_INSTRUCTION or COMMENT
 
Methods inherited from class com.jclark.xsl.dom.NodeBase
compareTo, equals, getAttribute, getAttributes, getAttributeValue, getChildren, getColumnNumber, getElementWithId, getGeneratedId, getLineNumber, getNamespacePrefixMap, getNamespaces, getParent, getPublicId, getRoot, getSystemId, 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()
Description copied from interface: Node
returns one of: ELEMENT, TEXT, ATTRIBUTE, ROOT, PROCESSING_INSTRUCTION or COMMENT


getName

public Name getName()
Description copied from class: NodeBase
default behavior -- return null. Descendant classes override

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

getData

public final java.lang.String getData()
Description copied from class: NodeBase
default behavior -- return null. Descendant classes override

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

getFollowingSiblings

public SafeNodeIterator getFollowingSiblings()
Description copied from interface: Node
as the name implies ...

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