|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xpath.XPathVisitor org.apache.xalan.templates.AbsPathChecker
public class AbsPathChecker
This class runs over a path expression that is assumed to be absolute, and checks for variables and the like that may make it context dependent.
Field Summary | |
---|---|
private boolean |
m_isAbs
|
Constructor Summary | |
---|---|
AbsPathChecker()
|
Method Summary | |
---|---|
boolean |
checkAbsolute(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 |
visitVariableRef(ExpressionOwner owner,
Variable var)
Visit a variable reference. |
Methods inherited from class org.apache.xpath.XPathVisitor |
---|
visitBinaryOperation, visitLocationPath, visitMatchPattern, visitNumberLiteral, visitPredicate, visitStep, visitStringLiteral, visitUnaryOperation, visitUnionPath, visitUnionPattern |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private boolean m_isAbs
Constructor Detail |
---|
public AbsPathChecker()
Method Detail |
---|
public boolean checkAbsolute(LocPathIterator path)
path
- LocPathIterator that is assumed to be absolute, but needs checking.
public boolean visitFunction(ExpressionOwner owner, Function func)
visitFunction
in class XPathVisitor
owner
- The owner of the expression, to which the expression can
be reset if rewriting takes place.func
- The function reference object.
public boolean visitVariableRef(ExpressionOwner owner, Variable var)
visitVariableRef
in class XPathVisitor
owner
- The owner of the expression, to which the expression can
be reset if rewriting takes place.var
- The variable reference object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |