com.jclark.xsl.dom
Class SiblingNodeIterator

java.lang.Object
  extended by com.jclark.xsl.dom.SiblingNodeIterator
All Implemented Interfaces:
NodeIterator, SafeNodeIterator

 class SiblingNodeIterator
extends java.lang.Object
implements SafeNodeIterator


Field Summary
(package private)  int childIndex
           
(package private)  org.w3c.dom.Node domNode
           
(package private)  NodeBase node
           
(package private)  ContainerNode parent
           
(package private)  int preserveSpace
           
 
Constructor Summary
SiblingNodeIterator(ContainerNode parent, int childIndex, org.w3c.dom.Node domNode)
           
 
Method Summary
(package private)  void advance()
           
(package private) static int computeChildIndex(ContainerNode parent, org.w3c.dom.Node domNode)
           
 Node next()
          get the next Node in the list, and don't throw any Exception
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parent

ContainerNode parent

childIndex

int childIndex

node

NodeBase node

domNode

org.w3c.dom.Node domNode

preserveSpace

int preserveSpace
Constructor Detail

SiblingNodeIterator

SiblingNodeIterator(ContainerNode parent,
                    int childIndex,
                    org.w3c.dom.Node domNode)
Method Detail

advance

final void advance()

computeChildIndex

static int computeChildIndex(ContainerNode parent,
                             org.w3c.dom.Node domNode)

next

public Node next()
Description copied from interface: SafeNodeIterator
get the next Node in the list, and don't throw any Exception

Specified by:
next in interface NodeIterator
Specified by:
next in interface SafeNodeIterator