net.sourceforge.pmd.jaxen

Class NodeIterator

public abstract class NodeIterator extends Object implements Iterator<Node>

Author: daniels

Constructor Summary
NodeIterator(Node contextNode)
Method Summary
protected NodegetFirstChild(Node contextNode)
protected abstract NodegetFirstNode(Node contextNode)
protected NodegetLastChild(Node contextNode)
protected abstract NodegetNextNode(Node contextNode)
protected NodegetNextSibling(Node contextNode)
protected NodegetPreviousSibling(Node contextNode)
booleanhasNext()
Nodenext()
voidremove()

Constructor Detail

NodeIterator

public NodeIterator(Node contextNode)

Method Detail

getFirstChild

protected Node getFirstChild(Node contextNode)

getFirstNode

protected abstract Node getFirstNode(Node contextNode)

getLastChild

protected Node getLastChild(Node contextNode)

getNextNode

protected abstract Node getNextNode(Node contextNode)

getNextSibling

protected Node getNextSibling(Node contextNode)

getPreviousSibling

protected Node getPreviousSibling(Node contextNode)

hasNext

public boolean hasNext()

next

public Node next()

remove

public void remove()