org.apache.xpath.axes
public class FilterExprIterator extends BasicTestIterator
Constructor Summary | |
---|---|
FilterExprIterator()
Create a FilterExprIterator object.
| |
FilterExprIterator(Expression expr)
Create a FilterExprIterator 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. |
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. |
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.
|
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: true as a default.
Parameters: context The XPath runtime context for this transformation.