net.sourceforge.pmd.jaxen
Class NodeIterator

java.lang.Object
  extended by net.sourceforge.pmd.jaxen.NodeIterator
All Implemented Interfaces:
java.util.Iterator<Node>

public abstract class NodeIterator
extends java.lang.Object
implements java.util.Iterator<Node>

Author:
daniels

Constructor Summary
NodeIterator(Node contextNode)
           
 
Method Summary
protected  Node getFirstChild(Node contextNode)
           
protected abstract  Node getFirstNode(Node contextNode)
           
protected  Node getLastChild(Node contextNode)
           
protected abstract  Node getNextNode(Node contextNode)
           
protected  Node getNextSibling(Node contextNode)
           
protected  Node getPreviousSibling(Node contextNode)
           
 boolean hasNext()
           
 Node next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeIterator

public NodeIterator(Node contextNode)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<Node>

next

public Node next()
Specified by:
next in interface java.util.Iterator<Node>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<Node>

getFirstNode

protected abstract Node getFirstNode(Node contextNode)

getNextNode

protected abstract Node getNextNode(Node contextNode)

getPreviousSibling

protected Node getPreviousSibling(Node contextNode)

getNextSibling

protected Node getNextSibling(Node contextNode)

getFirstChild

protected Node getFirstChild(Node contextNode)

getLastChild

protected Node getLastChild(Node contextNode)


Copyright © 2002-2011 InfoEther. All Rights Reserved.