| |
|
| org.apache.xpath.axes.PredicatedNodeTest org.apache.xpath.axes.LocPathIterator org.apache.xpath.axes.BasicTestIterator org.apache.xpath.axes.FilterExprIterator
Method Summary | |
public void | callPredicateVisitors(XPathVisitor visitor) This will traverse the heararchy, calling the visitor for
each member. | public boolean | deepEquals(Expression expr) | public void | detach() Detaches the walker from the set which it iterated over, releasing
any computational resources and placing the iterator in the INVALID
state. | public void | fixupVariables(java.util.Vector vars, int globalsSize) This function is used to fixup variables from QNames to stack frame
indexes at stylesheet build time.
Parameters: vars - List of QNames that correspond to variables. | public int | getAnalysisBits() Get the analysis bits for this walker, as defined in the WalkerFactory. | public Expression | getInnerExpression() Get the inner contained expression of this filter. | protected int | getNextNode() Get the next node via getNextXXX. | public boolean | isDocOrdered() Returns true if all the nodes in the iteration well be returned in document
order. | public void | setInnerExpression(Expression expr) Set the inner contained expression of this filter. | public void | setRoot(int context, Object environment) Initialize the context values for this expression
after it is cloned. |
serialVersionUID | final static long serialVersionUID(Code) | | |
FilterExprIterator | public FilterExprIterator()(Code) | | Create a FilterExprIterator object.
|
FilterExprIterator | public FilterExprIterator(Expression expr)(Code) | | Create a FilterExprIterator object.
|
callPredicateVisitors | public void callPredicateVisitors(XPathVisitor visitor)(Code) | | This will traverse the heararchy, calling the visitor for
each member. If the called visitor method returns
false, the subtree should not be called.
Parameters: visitor - The visitor whose appropriate method will be called. |
detach | public void detach()(Code) | | Detaches the walker from the set which it iterated over, releasing
any computational resources and placing the iterator in the INVALID
state.
|
fixupVariables | public void fixupVariables(java.util.Vector vars, int globalsSize)(Code) | | This function is used to fixup variables from QNames to stack frame
indexes at stylesheet build time.
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). |
getAnalysisBits | public int getAnalysisBits()(Code) | | Get the analysis bits for this walker, as defined in the WalkerFactory.
One of WalkerFactory#BIT_DESCENDANT, etc. |
getInnerExpression | public Expression getInnerExpression()(Code) | | Get the inner contained expression of this filter.
|
getNextNode | protected int getNextNode()(Code) | | Get the next node via getNextXXX. Bottlenecked for derived class override.
The next node on the axis, or DTM.NULL. |
isDocOrdered | public boolean isDocOrdered()(Code) | | Returns true if all the nodes in the iteration well be returned in document
order.
Warning: This can only be called after setRoot has been called!
true as a default. |
setInnerExpression | public void setInnerExpression(Expression expr)(Code) | | Set the inner contained expression of this filter.
|
setRoot | public void setRoot(int context, Object environment)(Code) | | Initialize the context values for this expression
after it is cloned.
Parameters: context - The XPath runtime context for thistransformation. |
Fields inherited from org.apache.xpath.axes.BasicTestIterator | final static long serialVersionUID(Code)(Java Doc)
|
|
|
|