public class SourceElementNodeIterator extends Object implements org.apache.commons.jxpath.ri.model.NodeIterator
Constructor and Description |
---|
SourceElementNodeIterator(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)
Create a new DOMNodeIterator.
|
Modifier and Type | Method and Description |
---|---|
org.apache.commons.jxpath.ri.model.NodePointer |
getNodePointer() |
int |
getPosition() |
boolean |
setPosition(int position) |
public SourceElementNodeIterator(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)
parent
- parent pointernodeTest
- testreverse
- whether to iterate in reversestartWith
- starting pointerpublic org.apache.commons.jxpath.ri.model.NodePointer getNodePointer()
getNodePointer
in interface org.apache.commons.jxpath.ri.model.NodeIterator
public int getPosition()
getPosition
in interface org.apache.commons.jxpath.ri.model.NodeIterator
public boolean setPosition(int position)
setPosition
in interface org.apache.commons.jxpath.ri.model.NodeIterator
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.