|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.saxpath.conformance.ConformanceXPathHandler
| Constructor Summary | |
ConformanceXPathHandler()
|
|
| Method Summary | |
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. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ConformanceXPathHandler()
| Method Detail |
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 XPathHandler
public void startNameStep(int axis,
String prefix,
String localName)
XPathHandlerstartNameStep in interface XPathHandlerorg.saxpath.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 XPathHandlerorg.saxpath.XPathHandleraxis - The axis of this step.public void endTextNodeStep()
XPathHandlerendTextNodeStep in interface XPathHandlerpublic void startCommentNodeStep(int axis)
XPathHandlerstartCommentNodeStep in interface XPathHandlerorg.saxpath.XPathHandleraxis - The axis of this step.public void endCommentNodeStep()
XPathHandlerendCommentNodeStep in interface XPathHandlerpublic void startAllNodeStep(int axis)
XPathHandlerstartAllNodeStep in interface XPathHandlerorg.saxpath.XPathHandleraxis - The axis of this step.public void endAllNodeStep()
XPathHandlerendAllNodeStep in interface XPathHandler
public void startProcessingInstructionNodeStep(int axis,
String name)
XPathHandlerstartProcessingInstructionNodeStep in interface XPathHandlerorg.saxpath.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 XPathHandlerorg.saxpath.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 XPathHandlerorg.saxpath.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 XPathHandlerorg.saxpath.XPathHandleroperator - The operator specific to this particular
equality expression. If null, this expression
is only a pass-through, and should not actually
be instantiated.public void startRelationalExpr()
XPathHandlerstartRelationalExpr in interface XPathHandlerpublic void endRelationalExpr(int operator)
XPathHandlerendRelationalExpr in interface XPathHandlerorg.saxpath.XPathHandleroperator - The operator specific to this particular
relational expression. If null, this expression
is only a pass-through, and should not actually
be instantiated.public void startAdditiveExpr()
XPathHandlerstartAdditiveExpr in interface XPathHandlerpublic void endAdditiveExpr(int operator)
XPathHandlerendAdditiveExpr in interface XPathHandlerorg.saxpath.XPathHandleroperator - The operator specific to this particular
additive expression. If null, this expression
is only a pass-through, and should not actually
be instantiated.public void startMultiplicativeExpr()
XPathHandlerstartMultiplicativeExpr in interface XPathHandlerpublic void endMultiplicativeExpr(int operator)
XPathHandlerendMultiplicativeExpr in interface XPathHandlerorg.saxpath.XPathHandleroperator - The operator specific to this particular
multiplicative expression. If null, this expression
is only a pass-through, and should not actually
be instantiated.public void startUnaryExpr()
XPathHandlerstartUnaryExpr in interface XPathHandlerpublic void endUnaryExpr(int operator)
XPathHandlerendUnaryExpr in interface XPathHandlerorg.saxpath.XPathHandleroperator - The operator specific to this particular
unary expression. If null, this expression is only
a pass-through, and should not actually be instantiated.
If not Operator.NO_OP, it'll always be Operator.NEGATIVE.public void startUnionExpr()
XPathHandlerstartUnionExpr in interface XPathHandlerpublic void endUnionExpr(boolean create)
XPathHandlerendUnionExpr in interface XPathHandlerorg.saxpath.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 XPathHandlerorg.saxpath.XPathHandlernumber - The number value.public void number(double number)
XPathHandlernumber in interface XPathHandlerorg.saxpath.XPathHandlernumber - The number value.public void literal(String literal)
XPathHandlerliteral in interface XPathHandlerorg.saxpath.XPathHandlerliteral - The string literal value.
public void variableReference(String prefix,
String variableName)
XPathHandlervariableReference in interface XPathHandlerorg.saxpath.XPathHandlerprefix - The ns-uri prefix of the variable.variableName - The name of the variable.
public void startFunction(String prefix,
String functionName)
XPathHandlerstartFunction in interface XPathHandlerorg.saxpath.XPathHandlerprefix - The ns-uri prefix of the function.functionName - The name of the function.public void endFunction()
XPathHandlerendFunction in interface XPathHandlerpublic boolean equals(Object thatObj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||