public class FilterIterator extends NodeIterator
_contextNode, _env, _position, _size, log
Constructor and Description |
---|
FilterIterator(NodeIterator parentIter,
Expr expr,
ExprEnvironment env,
org.w3c.dom.Node context)
Creates the new AxisIterator.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
clones the iterator
|
boolean |
hasNext()
True if there's more data.
|
org.w3c.dom.Node |
nextNode()
Returns the next selected node.
|
java.lang.String |
toString() |
copy, getContextNode, getContextPosition, getContextSize, getCurrentNode, getFunction, getOwnerDocument, getPositionIndex, getStylesheetEnv, getVar, next, nextSelectedNode, remove, setContextNode, setMorePositions, stringValue, systemProperty
public FilterIterator(NodeIterator parentIter, Expr expr, ExprEnvironment env, org.w3c.dom.Node context) throws XPathException
parentIter
- the parent iteratorexpr
- the filter expressionenv
- the xpath environmentcontext
- the context nodeXPathException
public boolean hasNext()
hasNext
in interface java.util.Iterator<org.w3c.dom.Node>
hasNext
in class NodeIterator
public org.w3c.dom.Node nextNode() throws XPathException
nextNode
in class NodeIterator
XPathException
public java.lang.Object clone()
NodeIterator
clone
in class NodeIterator
public java.lang.String toString()
toString
in class java.lang.Object