jd.xml.xpath.model.walk
Class ListWalker
java.lang.Object
jd.xml.xpath.model.walk.ListWalker
- All Implemented Interfaces:
- ModelWalker
- Direct Known Subclasses:
- AttributeListWalker, NamespaceListWalker
- public abstract class ListWalker
- extends Object
- implements ModelWalker
An walker for an array of nodes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListWalker
public ListWalker()
gotoFirstNode
protected XPathNode gotoFirstNode(XPathNode[] list)
gotoNextNode
public XPathNode gotoNextNode(XPathNode node)
- Description copied from interface:
ModelWalker
- Return the next node of the path.
- Specified by:
gotoNextNode
in interface ModelWalker
- Parameters:
node
- a XPathNode obtained from the last call
to gotoFirstNode or gotoNextNode.
If the node is another node the behaviour is not determined.
- Returns:
- the next node of the path represented by this ModelWalker.-
If null then the path ended.