public class HasPositionalPredChecker extends XPathVisitor
| Constructor and Description | 
|---|
| HasPositionalPredChecker() | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | check(LocPathIterator path)Process the LocPathIterator to see if it contains variables 
 or functions that may make it context dependent. | 
| boolean | visitFunction(ExpressionOwner owner,
             Function func)Visit a function. | 
| boolean | visitPredicate(ExpressionOwner owner,
              Expression pred)Visit a predicate within a location path. | 
visitBinaryOperation, visitLocationPath, visitMatchPattern, visitNumberLiteral, visitStep, visitStringLiteral, visitUnaryOperation, visitUnionPath, visitUnionPattern, visitVariableRefpublic static boolean check(LocPathIterator path)
path - LocPathIterator that is assumed to be absolute, but needs checking.public boolean visitFunction(ExpressionOwner owner, Function func)
visitFunction in class XPathVisitorowner - The owner of the expression, to which the expression can 
              be reset if rewriting takes place.func - The function reference object.public boolean visitPredicate(ExpressionOwner owner, Expression pred)
visitPredicate in class XPathVisitorowner - The owner of the expression, to which the expression can 
              be reset if rewriting takes place.pred - The predicate object.Copyright © 2017 JBoss by Red Hat. All rights reserved.