public class ConformanceXPathHandler extends Object implements XPathHandler
| Constructor and Description |
|---|
ConformanceXPathHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
endAbsoluteLocationPath()
Receive notification of the end of an absolute location path expression.
|
void |
endAdditiveExpr(int operator)
Receive notification of the end of an additive ('+' or '-') expression.
|
void |
endAllNodeStep()
Receive notification of the end of a node() step.
|
void |
endAndExpr(boolean create)
Receive notification of the end of an 'and' expression.
|
void |
endCommentNodeStep()
Receive notification of the end of a comment() step.
|
void |
endEqualityExpr(int operator)
Receive notification of the end of an equality ('=' or '!=') expression.
|
void |
endFilterExpr()
Receive notification of the end of a filter expression.
|
void |
endFunction()
Receive notification of the end of a function call.
|
void |
endMultiplicativeExpr(int operator)
Receive notification of the start of a multiplicative ('*', 'div' or 'mod') expression.
|
void |
endNameStep()
Receive notification of the end of a NameStep
|
void |
endOrExpr(boolean create)
Receive notification of the end of an 'or' expression.
|
void |
endPathExpr()
Receive notification of the end of a path expression.
|
void |
endPredicate()
Receive notification of the end of a predicate.
|
void |
endProcessingInstructionNodeStep()
Receive notification of the end of a processing-instruction(...) step.
|
void |
endRelationalExpr(int operator)
Receive notification of the start of a relational ('<', '>', '<=', or '>=') expression.
|
void |
endRelativeLocationPath()
Receive notification of the end of a relative location path expression.
|
void |
endTextNodeStep()
Receive notification of the end of a text() step.
|
void |
endUnaryExpr(int operator)
Receive notification of the end of a unary ('+' or '-') expression.
|
void |
endUnionExpr(boolean create)
Receive notification of the end of a union ('|') expression.
|
void |
endXPath()
Receive notification of the end of an XPath expression parse.
|
boolean |
equals(Object thatObj) |
void |
literal(String literal)
Receive notification of a literal expression.
|
void |
number(double number)
Receive notification of a number expression.
|
void |
number(int number)
Receive notification of a number expression.
|
void |
startAbsoluteLocationPath()
Receive notification of the start of an absolute location path expression.
|
void |
startAdditiveExpr()
Receive notification of the start of an additive ('+' or '-') expression.
|
void |
startAllNodeStep(int axis)
Receive notification of the start of a node() step.
|
void |
startAndExpr()
Receive notification of the start of an 'and' expression.
|
void |
startCommentNodeStep(int axis)
Receive notification of the start of a comment() step.
|
void |
startEqualityExpr()
Receive notification of the start of an equality ('=' or '!=') expression.
|
void |
startFilterExpr()
Receive notification of the start of a filter expression.
|
void |
startFunction(String prefix,
String functionName)
Receive notification of a function call.
|
void |
startMultiplicativeExpr()
Receive notification of the start of a multiplicative ('*', 'div' or 'mod') expression.
|
void |
startNameStep(int axis,
String prefix,
String localName)
Receive notification of the start of a name step.
|
void |
startOrExpr()
Receive notification of the start of an 'or' expression.
|
void |
startPathExpr()
Receive notification of the start of a path expression.
|
void |
startPredicate()
Receive notification of the start of a predicate.
|
void |
startProcessingInstructionNodeStep(int axis,
String name)
Receive notification of the start of a processing-instruction(...) step.
|
void |
startRelationalExpr()
Receive notification of the start of a relational ('<', '>', '<=', or '>=') expression.
|
void |
startRelativeLocationPath()
Receive notification of the start of a relative location path expression.
|
void |
startTextNodeStep(int axis)
Receive notification of the start of a text() step.
|
void |
startUnaryExpr()
Receive notification of the start of a unary ('+' or '-') expression.
|
void |
startUnionExpr()
Receive notification of the start of a union ('|') expression.
|
void |
startXPath()
Receive notification of the start of an XPath expression parse.
|
String |
toString() |
void |
variableReference(String prefix,
String variableName)
Receive notification of a variable-reference expression.
|
public void startXPath()
XPathHandlerstartXPath in interface XPathHandlerpublic void endXPath()
XPathHandlerendXPath in interface XPathHandlerpublic void startPathExpr()
XPathHandlerstartPathExpr in interface XPathHandlerpublic void endPathExpr()
XPathHandlerendPathExpr in interface XPathHandlerpublic void startAbsoluteLocationPath()
XPathHandlerstartAbsoluteLocationPath in interface XPathHandlerpublic void endAbsoluteLocationPath()
XPathHandlerendAbsoluteLocationPath in interface XPathHandlerpublic void startRelativeLocationPath()
XPathHandlerstartRelativeLocationPath in interface XPathHandlerpublic void endRelativeLocationPath()
XPathHandlerendRelativeLocationPath in interface XPathHandlerpublic void startNameStep(int axis,
String prefix,
String localName)
XPathHandlerstartNameStep in interface XPathHandleraxis - The axis of this step.prefix - The namespace prefix for the name to test,
or the empty-string if no prefix is specified.localName - The local part of the name to test.public void endNameStep()
XPathHandlerendNameStep in interface XPathHandlerpublic void startTextNodeStep(int axis)
XPathHandlerstartTextNodeStep in interface XPathHandleraxis - The axis of this step.public void endTextNodeStep()
XPathHandlerendTextNodeStep in interface XPathHandlerpublic void startCommentNodeStep(int axis)
XPathHandlerstartCommentNodeStep in interface XPathHandleraxis - The axis of this step.public void endCommentNodeStep()
XPathHandlerendCommentNodeStep in interface XPathHandlerpublic void startAllNodeStep(int axis)
XPathHandlerstartAllNodeStep in interface XPathHandleraxis - The axis of this step.public void endAllNodeStep()
XPathHandlerendAllNodeStep in interface XPathHandlerpublic void startProcessingInstructionNodeStep(int axis,
String name)
XPathHandlerstartProcessingInstructionNodeStep in interface XPathHandleraxis - The axis of this step.name - The name of the processing-instruction, of
the empty-string if none is specified.public void endProcessingInstructionNodeStep()
XPathHandlerendProcessingInstructionNodeStep in interface XPathHandlerpublic void startPredicate()
XPathHandlerstartPredicate in interface XPathHandlerpublic void endPredicate()
XPathHandlerendPredicate in interface XPathHandlerpublic void startFilterExpr()
XPathHandlerstartFilterExpr in interface XPathHandlerpublic void endFilterExpr()
XPathHandlerendFilterExpr in interface XPathHandlerpublic void startOrExpr()
XPathHandlerstartOrExpr in interface XPathHandlerpublic void endOrExpr(boolean create)
XPathHandlerendOrExpr in interface XPathHandlercreate - Flag that indicates if this expression
should truly be instantiated, or if it was just
a pass-through, based upon the grammar productions.public void startAndExpr()
XPathHandlerstartAndExpr in interface XPathHandlerpublic void endAndExpr(boolean create)
XPathHandlerendAndExpr in interface XPathHandlercreate - Flag that indicates if this expression
should truly be instantiated, or if it was just
a pass-through, based upon the grammar productions.public void startEqualityExpr()
XPathHandlerstartEqualityExpr in interface XPathHandlerpublic void endEqualityExpr(int operator)
XPathHandlerendEqualityExpr in interface XPathHandlerpublic void startRelationalExpr()
XPathHandlerstartRelationalExpr in interface XPathHandlerpublic void endRelationalExpr(int operator)
XPathHandlerendRelationalExpr in interface XPathHandlerpublic void startAdditiveExpr()
XPathHandlerstartAdditiveExpr in interface XPathHandlerpublic void endAdditiveExpr(int operator)
XPathHandlerendAdditiveExpr in interface XPathHandlerpublic void startMultiplicativeExpr()
XPathHandlerstartMultiplicativeExpr in interface XPathHandlerpublic void endMultiplicativeExpr(int operator)
XPathHandlerendMultiplicativeExpr in interface XPathHandlerpublic void startUnaryExpr()
XPathHandlerstartUnaryExpr in interface XPathHandlerpublic void endUnaryExpr(int operator)
XPathHandlerendUnaryExpr in interface XPathHandlerpublic void startUnionExpr()
XPathHandlerstartUnionExpr in interface XPathHandlerpublic void endUnionExpr(boolean create)
XPathHandlerendUnionExpr in interface XPathHandlercreate - Flag that indicates if this expression
should truly be instantiated, or if it was just
a pass-through, based upon the grammar productions.public void number(int number)
XPathHandlernumber in interface XPathHandlernumber - The number value.public void number(double number)
XPathHandlernumber in interface XPathHandlernumber - The number value.public void literal(String literal)
XPathHandlerliteral in interface XPathHandlerliteral - The string literal value.public void variableReference(String prefix, String variableName)
XPathHandlervariableReference in interface XPathHandlerprefix - The ns-uri prefix of the variable.variableName - The name of the variable.public void startFunction(String prefix, String functionName)
XPathHandlerstartFunction in interface XPathHandlerprefix - The ns-uri prefix of the function.functionName - The name of the function.public void endFunction()
XPathHandlerendFunction in interface XPathHandlerCopyright © 2013. All Rights Reserved.