org.eclipse.actf.model.locate
Class BaseNodeIterator
java.lang.Object
org.eclipse.actf.model.locate.BaseNodeIterator
- All Implemented Interfaces:
- org.apache.commons.jxpath.ri.model.NodeIterator
- Direct Known Subclasses:
- AccessibleNodeIterator, MozillaDomNodeIterator
public abstract class BaseNodeIterator
- extends Object
- implements org.apache.commons.jxpath.ri.model.NodeIterator
Constructor Summary |
BaseNodeIterator(org.apache.commons.jxpath.ri.model.NodePointer parent,
org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest,
boolean reverse,
org.apache.commons.jxpath.ri.model.NodePointer startWith,
IModel model)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.commons.jxpath.ri.model.NodeIterator |
getNodePointer |
parent
protected org.apache.commons.jxpath.ri.model.NodePointer parent
model
protected IModel model
nodeTest
protected org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest
child
protected Object child
reverse
protected boolean reverse
position
protected int position
BaseNodeIterator
public BaseNodeIterator(org.apache.commons.jxpath.ri.model.NodePointer parent,
org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest,
boolean reverse,
org.apache.commons.jxpath.ri.model.NodePointer startWith,
IModel model)
getPosition
public int getPosition()
- Specified by:
getPosition
in interface org.apache.commons.jxpath.ri.model.NodeIterator
setPosition
public boolean setPosition(int position)
- Specified by:
setPosition
in interface org.apache.commons.jxpath.ri.model.NodeIterator
previous
protected boolean previous()
throws InvalidComponentException
- Throws:
InvalidComponentException
next
protected boolean next()
throws InvalidComponentException
- Throws:
InvalidComponentException
testChild
protected boolean testChild()
nextSibling
protected Object nextSibling(Object child)
throws InvalidComponentException
- Throws:
InvalidComponentException
previousSibling
protected Object previousSibling(Object child)
throws InvalidComponentException
- Throws:
InvalidComponentException
firstChild
protected Object firstChild()
lastChild
protected Object lastChild()