| java.lang.Object org.apache.xpath.XPathVisitor org.apache.xpath.axes.HasPositionalPredChecker
Method Summary | |
public static boolean | check(LocPathIterator path) Process the LocPathIterator to see if it contains variables
or functions that may make it context dependent.
Parameters: path - LocPathIterator that is assumed to be absolute, but needs checking. | public boolean | visitFunction(ExpressionOwner owner, Function func) Visit a function.
Parameters: owner - The owner of the expression, to which the expression can be reset if rewriting takes place. Parameters: func - The function reference object. | public boolean | visitPredicate(ExpressionOwner owner, Expression pred) Visit a predicate within a location path. |
check | public static boolean check(LocPathIterator path)(Code) | | Process the LocPathIterator to see if it contains variables
or functions that may make it context dependent.
Parameters: path - LocPathIterator that is assumed to be absolute, but needs checking. true if the path is confirmed to be absolute, false if it may contain context dependencies. |
visitFunction | public boolean visitFunction(ExpressionOwner owner, Function func)(Code) | | Visit a function.
Parameters: owner - The owner of the expression, to which the expression can be reset if rewriting takes place. Parameters: func - The function reference object. true if the sub expressions should be traversed. |
visitPredicate | public boolean visitPredicate(ExpressionOwner owner, Expression pred)(Code) | | Visit a predicate within a location path. Note that there isn't a
proper unique component for predicates, and that the expression will
be called also for whatever type Expression is.
Parameters: owner - The owner of the expression, to which the expression can be reset if rewriting takes place. Parameters: pred - The predicate object. true if the sub expressions should be traversed. |
Methods inherited from org.apache.xpath.XPathVisitor | public boolean visitBinaryOperation(ExpressionOwner owner, Operation op)(Code)(Java Doc) public boolean visitFunction(ExpressionOwner owner, Function func)(Code)(Java Doc) public boolean visitLocationPath(ExpressionOwner owner, LocPathIterator path)(Code)(Java Doc) public boolean visitMatchPattern(ExpressionOwner owner, StepPattern pattern)(Code)(Java Doc) public boolean visitNumberLiteral(ExpressionOwner owner, XNumber num)(Code)(Java Doc) public boolean visitPredicate(ExpressionOwner owner, Expression pred)(Code)(Java Doc) public boolean visitStep(ExpressionOwner owner, NodeTest step)(Code)(Java Doc) public boolean visitStringLiteral(ExpressionOwner owner, XString str)(Code)(Java Doc) public boolean visitUnaryOperation(ExpressionOwner owner, UnaryOperation op)(Code)(Java Doc) public boolean visitUnionPath(ExpressionOwner owner, UnionPathIterator path)(Code)(Java Doc) public boolean visitUnionPattern(ExpressionOwner owner, UnionPattern pattern)(Code)(Java Doc) public boolean visitVariableRef(ExpressionOwner owner, Variable var)(Code)(Java Doc)
|
|
|