net.sourceforge.pmd.jaxen
Class NodeIterator
java.lang.Object
net.sourceforge.pmd.jaxen.NodeIterator
- All Implemented Interfaces:
- java.util.Iterator
- public abstract class NodeIterator
- extends java.lang.Object
- implements java.util.Iterator
- Author:
- daniels
To change this generated comment go to
Window>Preferences>Java>Code Generation>Code Template
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
node
private Node node
NodeIterator
public NodeIterator(Node contextNode)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator
next
public java.lang.Object next()
- Specified by:
next
in interface java.util.Iterator
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator
getFirstNode
protected abstract Node getFirstNode(Node contextNode)
getNextNode
protected abstract Node getNextNode(Node contextNode)
getPreviousSibling
protected Node getPreviousSibling(Node contextNode)
getPositionFromParent
private int getPositionFromParent(Node contextNode)
getNextSibling
protected Node getNextSibling(Node contextNode)
getFirstChild
protected Node getFirstChild(Node contextNode)
getLastChild
protected Node getLastChild(Node contextNode)