com.jclark.xsl.dom
Class ElementNode

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

 class ElementNode
extends ContainerNode


Nested Class Summary
(package private)  class ElementNode.AttributesIterator
           
 
Field Summary
 
Fields inherited from class com.jclark.xsl.dom.ContainerNode
prefixMap, preserveSpace
 
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
ElementNode(org.w3c.dom.Node domNode, ContainerNode parent, int childIndex)
           
 
Method Summary
 Node getAttribute(Name name)
           
 SafeNodeIterator getAttributes()
           
 java.lang.String getAttributeValue(Name name)
           
 Name getName()
          Returns element type name for element; attribute name for an attribute; target for a PI.
 boolean getPreserveSpace()
           
 byte getType()
           
 
Methods inherited from class com.jclark.xsl.dom.ContainerNode
getChildren, getNamespacePrefixMap, getUnparsedEntityURI
 
Methods inherited from class com.jclark.xsl.dom.NodeBase
compareTo, equals, getData, getElementWithId, getFollowingSiblings, getGeneratedId, getLineNumber, getParent, getRoot, getURL, isId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementNode

ElementNode(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

getAttributeValue

public java.lang.String getAttributeValue(Name name)
Specified by:
getAttributeValue in interface Node
Overrides:
getAttributeValue in class NodeBase

getAttribute

public Node getAttribute(Name name)
Specified by:
getAttribute in interface Node
Overrides:
getAttribute in class NodeBase

getAttributes

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

getPreserveSpace

public boolean getPreserveSpace()
Overrides:
getPreserveSpace in class ContainerNode