org.apache.xpath.axes
public class FilterExprIteratorSimple extends LocPathIterator
Constructor Summary | |
---|---|
FilterExprIteratorSimple()
Create a FilterExprIteratorSimple object.
| |
FilterExprIteratorSimple(Expression expr)
Create a FilterExprIteratorSimple object.
|
Method Summary | |
---|---|
void | callPredicateVisitors(XPathVisitor visitor)
This will traverse the heararchy, calling the visitor for
each member. |
boolean | deepEquals(Expression expr) |
void | detach()
Detaches the walker from the set which it iterated over, releasing
any computational resources and placing the iterator in the INVALID
state. |
static XNodeSet | executeFilterExpr(int context, XPathContext xctxt, PrefixResolver prefixResolver, boolean isTopLevel, int stackFrame, Expression expr)
Execute the expression. |
void | fixupVariables(Vector vars, int globalsSize)
This function is used to fixup variables from QNames to stack frame
indexes at stylesheet build time. |
int | getAnalysisBits()
Get the analysis bits for this walker, as defined in the WalkerFactory. |
int | getAxis()
Returns the axis being iterated, if it is known.
|
Expression | getInnerExpression()
Get the inner contained expression of this filter. |
boolean | isDocOrdered()
Returns true if all the nodes in the iteration well be returned in document
order.
|
int | nextNode()
Returns the next node in the set and advances the position of the
iterator in the set. |
void | setInnerExpression(Expression expr)
Set the inner contained expression of this filter. |
void | setRoot(int context, Object environment)
Initialize the context values for this expression
after it is cloned.
|
Parameters: visitor The visitor whose appropriate method will be called.
See Also: deepEquals
Parameters: vars List of QNames that correspond to variables. This list should be searched backwards for the first qualified name that corresponds to the variable reference qname. The position of the QName in the vector from the start of the vector will be its position in the stack frame (but variables above the globalsTop value will need to be offset to the current stack frame).
Returns: One of WalkerFactory#BIT_DESCENDANT, etc.
Returns: Axis.CHILD, etc., or -1 if the axis is not known or is of multiple types.
Returns: true as a default.
Returns: The next Node
in the set being iterated over, or
null
if there are no more members in that set.
Parameters: context The XPath runtime context for this transformation.