Package org.saxpath.conformance
Class ConformanceXPathHandler
- java.lang.Object
-
- org.saxpath.conformance.ConformanceXPathHandler
-
- All Implemented Interfaces:
XPathHandler
public class ConformanceXPathHandler extends java.lang.Object implements XPathHandler
-
-
Constructor Summary
Constructors Constructor Description ConformanceXPathHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendAbsoluteLocationPath()Receive notification of the end of an absolute location path expression.voidendAdditiveExpr(int operator)Receive notification of the end of an additive ('+' or '-') expression.voidendAllNodeStep()Receive notification of the end of a node() step.voidendAndExpr(boolean create)Receive notification of the end of an 'and' expression.voidendCommentNodeStep()Receive notification of the end of a comment() step.voidendEqualityExpr(int operator)Receive notification of the end of an equality ('=' or '!=') expression.voidendFilterExpr()Receive notification of the end of a filter expression.voidendFunction()Receive notification of the end of a function call.voidendMultiplicativeExpr(int operator)Receive notification of the start of a multiplicative ('*', 'div' or 'mod') expression.voidendNameStep()Receive notification of the end of a NameStepvoidendOrExpr(boolean create)Receive notification of the end of an 'or' expression.voidendPathExpr()Receive notification of the end of a path expression.voidendPredicate()Receive notification of the end of a predicate.voidendProcessingInstructionNodeStep()Receive notification of the end of a processing-instruction(...) step.voidendRelationalExpr(int operator)Receive notification of the start of a relational ('<', '>', '<=', or '>=') expression.voidendRelativeLocationPath()Receive notification of the end of a relative location path expression.voidendTextNodeStep()Receive notification of the end of a text() step.voidendUnaryExpr(int operator)Receive notification of the end of a unary ('+' or '-') expression.voidendUnionExpr(boolean create)Receive notification of the end of a union ('|') expression.voidendXPath()Receive notification of the end of an XPath expression parse.booleanequals(java.lang.Object thatObj)voidliteral(java.lang.String literal)Receive notification of a literal expression.voidnumber(double number)Receive notification of a number expression.voidnumber(int number)Receive notification of a number expression.voidstartAbsoluteLocationPath()Receive notification of the start of an absolute location path expression.voidstartAdditiveExpr()Receive notification of the start of an additive ('+' or '-') expression.voidstartAllNodeStep(int axis)Receive notification of the start of a node() step.voidstartAndExpr()Receive notification of the start of an 'and' expression.voidstartCommentNodeStep(int axis)Receive notification of the start of a comment() step.voidstartEqualityExpr()Receive notification of the start of an equality ('=' or '!=') expression.voidstartFilterExpr()Receive notification of the start of a filter expression.voidstartFunction(java.lang.String prefix, java.lang.String functionName)Receive notification of a function call.voidstartMultiplicativeExpr()Receive notification of the start of a multiplicative ('*', 'div' or 'mod') expression.voidstartNameStep(int axis, java.lang.String prefix, java.lang.String localName)Receive notification of the start of a name step.voidstartOrExpr()Receive notification of the start of an 'or' expression.voidstartPathExpr()Receive notification of the start of a path expression.voidstartPredicate()Receive notification of the start of a predicate.voidstartProcessingInstructionNodeStep(int axis, java.lang.String name)Receive notification of the start of a processing-instruction(...) step.voidstartRelationalExpr()Receive notification of the start of a relational ('<', '>', '<=', or '>=') expression.voidstartRelativeLocationPath()Receive notification of the start of a relative location path expression.voidstartTextNodeStep(int axis)Receive notification of the start of a text() step.voidstartUnaryExpr()Receive notification of the start of a unary ('+' or '-') expression.voidstartUnionExpr()Receive notification of the start of a union ('|') expression.voidstartXPath()Receive notification of the start of an XPath expression parse.java.lang.StringtoString()voidvariableReference(java.lang.String prefix, java.lang.String variableName)Receive notification of a variable-reference expression.
-
-
-
Method Detail
-
startXPath
public void startXPath()
Description copied from interface:XPathHandlerReceive notification of the start of an XPath expression parse.- Specified by:
startXPathin interfaceXPathHandler
-
endXPath
public void endXPath()
Description copied from interface:XPathHandlerReceive notification of the end of an XPath expression parse.- Specified by:
endXPathin interfaceXPathHandler
-
startPathExpr
public void startPathExpr()
Description copied from interface:XPathHandlerReceive notification of the start of a path expression.- Specified by:
startPathExprin interfaceXPathHandler
-
endPathExpr
public void endPathExpr()
Description copied from interface:XPathHandlerReceive notification of the end of a path expression.- Specified by:
endPathExprin interfaceXPathHandler
-
startAbsoluteLocationPath
public void startAbsoluteLocationPath()
Description copied from interface:XPathHandlerReceive notification of the start of an absolute location path expression.- Specified by:
startAbsoluteLocationPathin interfaceXPathHandler
-
endAbsoluteLocationPath
public void endAbsoluteLocationPath()
Description copied from interface:XPathHandlerReceive notification of the end of an absolute location path expression.- Specified by:
endAbsoluteLocationPathin interfaceXPathHandler
-
startRelativeLocationPath
public void startRelativeLocationPath()
Description copied from interface:XPathHandlerReceive notification of the start of a relative location path expression.- Specified by:
startRelativeLocationPathin interfaceXPathHandler
-
endRelativeLocationPath
public void endRelativeLocationPath()
Description copied from interface:XPathHandlerReceive notification of the end of a relative location path expression.- Specified by:
endRelativeLocationPathin interfaceXPathHandler
-
startNameStep
public void startNameStep(int axis, java.lang.String prefix, java.lang.String localName)Description copied from interface:XPathHandlerReceive notification of the start of a name step.- Specified by:
startNameStepin interfaceXPathHandler- Parameters:
axis- 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.
-
endNameStep
public void endNameStep()
Description copied from interface:XPathHandlerReceive notification of the end of a NameStep- Specified by:
endNameStepin interfaceXPathHandler
-
startTextNodeStep
public void startTextNodeStep(int axis)
Description copied from interface:XPathHandlerReceive notification of the start of a text() step.- Specified by:
startTextNodeStepin interfaceXPathHandler- Parameters:
axis- The axis of this step.
-
endTextNodeStep
public void endTextNodeStep()
Description copied from interface:XPathHandlerReceive notification of the end of a text() step.- Specified by:
endTextNodeStepin interfaceXPathHandler
-
startCommentNodeStep
public void startCommentNodeStep(int axis)
Description copied from interface:XPathHandlerReceive notification of the start of a comment() step.- Specified by:
startCommentNodeStepin interfaceXPathHandler- Parameters:
axis- The axis of this step.
-
endCommentNodeStep
public void endCommentNodeStep()
Description copied from interface:XPathHandlerReceive notification of the end of a comment() step.- Specified by:
endCommentNodeStepin interfaceXPathHandler
-
startAllNodeStep
public void startAllNodeStep(int axis)
Description copied from interface:XPathHandlerReceive notification of the start of a node() step.- Specified by:
startAllNodeStepin interfaceXPathHandler- Parameters:
axis- The axis of this step.
-
endAllNodeStep
public void endAllNodeStep()
Description copied from interface:XPathHandlerReceive notification of the end of a node() step.- Specified by:
endAllNodeStepin interfaceXPathHandler
-
startProcessingInstructionNodeStep
public void startProcessingInstructionNodeStep(int axis, java.lang.String name)Description copied from interface:XPathHandlerReceive notification of the start of a processing-instruction(...) step.- Specified by:
startProcessingInstructionNodeStepin interfaceXPathHandler- Parameters:
axis- The axis of this step.name- The name of the processing-instruction, of the empty-string if none is specified.
-
endProcessingInstructionNodeStep
public void endProcessingInstructionNodeStep()
Description copied from interface:XPathHandlerReceive notification of the end of a processing-instruction(...) step.- Specified by:
endProcessingInstructionNodeStepin interfaceXPathHandler
-
startPredicate
public void startPredicate()
Description copied from interface:XPathHandlerReceive notification of the start of a predicate.- Specified by:
startPredicatein interfaceXPathHandler
-
endPredicate
public void endPredicate()
Description copied from interface:XPathHandlerReceive notification of the end of a predicate.- Specified by:
endPredicatein interfaceXPathHandler
-
startFilterExpr
public void startFilterExpr()
Description copied from interface:XPathHandlerReceive notification of the start of a filter expression.- Specified by:
startFilterExprin interfaceXPathHandler
-
endFilterExpr
public void endFilterExpr()
Description copied from interface:XPathHandlerReceive notification of the end of a filter expression.- Specified by:
endFilterExprin interfaceXPathHandler
-
startOrExpr
public void startOrExpr()
Description copied from interface:XPathHandlerReceive notification of the start of an 'or' expression.- Specified by:
startOrExprin interfaceXPathHandler
-
endOrExpr
public void endOrExpr(boolean create)
Description copied from interface:XPathHandlerReceive notification of the end of an 'or' expression.- Specified by:
endOrExprin interfaceXPathHandler- Parameters:
create- Flag that indicates if this expression should truly be instantiated, or if it was just a pass-through, based upon the grammar productions.
-
startAndExpr
public void startAndExpr()
Description copied from interface:XPathHandlerReceive notification of the start of an 'and' expression.- Specified by:
startAndExprin interfaceXPathHandler
-
endAndExpr
public void endAndExpr(boolean create)
Description copied from interface:XPathHandlerReceive notification of the end of an 'and' expression.- Specified by:
endAndExprin interfaceXPathHandler- Parameters:
create- Flag that indicates if this expression should truly be instantiated, or if it was just a pass-through, based upon the grammar productions.
-
startEqualityExpr
public void startEqualityExpr()
Description copied from interface:XPathHandlerReceive notification of the start of an equality ('=' or '!=') expression.- Specified by:
startEqualityExprin interfaceXPathHandler
-
endEqualityExpr
public void endEqualityExpr(int operator)
Description copied from interface:XPathHandlerReceive notification of the end of an equality ('=' or '!=') expression.- Specified by:
endEqualityExprin interfaceXPathHandler
-
startRelationalExpr
public void startRelationalExpr()
Description copied from interface:XPathHandlerReceive notification of the start of a relational ('<', '>', '<=', or '>=') expression.- Specified by:
startRelationalExprin interfaceXPathHandler
-
endRelationalExpr
public void endRelationalExpr(int operator)
Description copied from interface:XPathHandlerReceive notification of the start of a relational ('<', '>', '<=', or '>=') expression.- Specified by:
endRelationalExprin interfaceXPathHandler
-
startAdditiveExpr
public void startAdditiveExpr()
Description copied from interface:XPathHandlerReceive notification of the start of an additive ('+' or '-') expression.- Specified by:
startAdditiveExprin interfaceXPathHandler
-
endAdditiveExpr
public void endAdditiveExpr(int operator)
Description copied from interface:XPathHandlerReceive notification of the end of an additive ('+' or '-') expression.- Specified by:
endAdditiveExprin interfaceXPathHandler
-
startMultiplicativeExpr
public void startMultiplicativeExpr()
Description copied from interface:XPathHandlerReceive notification of the start of a multiplicative ('*', 'div' or 'mod') expression.- Specified by:
startMultiplicativeExprin interfaceXPathHandler
-
endMultiplicativeExpr
public void endMultiplicativeExpr(int operator)
Description copied from interface:XPathHandlerReceive notification of the start of a multiplicative ('*', 'div' or 'mod') expression.- Specified by:
endMultiplicativeExprin interfaceXPathHandler
-
startUnaryExpr
public void startUnaryExpr()
Description copied from interface:XPathHandlerReceive notification of the start of a unary ('+' or '-') expression.- Specified by:
startUnaryExprin interfaceXPathHandler
-
endUnaryExpr
public void endUnaryExpr(int operator)
Description copied from interface:XPathHandlerReceive notification of the end of a unary ('+' or '-') expression.- Specified by:
endUnaryExprin interfaceXPathHandler
-
startUnionExpr
public void startUnionExpr()
Description copied from interface:XPathHandlerReceive notification of the start of a union ('|') expression.- Specified by:
startUnionExprin interfaceXPathHandler
-
endUnionExpr
public void endUnionExpr(boolean create)
Description copied from interface:XPathHandlerReceive notification of the end of a union ('|') expression.- Specified by:
endUnionExprin interfaceXPathHandler- Parameters:
create- Flag that indicates if this expression should truly be instantiated, or if it was just a pass-through, based upon the grammar productions.
-
number
public void number(int number)
Description copied from interface:XPathHandlerReceive notification of a number expression.- Specified by:
numberin interfaceXPathHandler- Parameters:
number- The number value.
-
number
public void number(double number)
Description copied from interface:XPathHandlerReceive notification of a number expression.- Specified by:
numberin interfaceXPathHandler- Parameters:
number- The number value.
-
literal
public void literal(java.lang.String literal)
Description copied from interface:XPathHandlerReceive notification of a literal expression.- Specified by:
literalin interfaceXPathHandler- Parameters:
literal- The string literal value.
-
variableReference
public void variableReference(java.lang.String prefix, java.lang.String variableName)Description copied from interface:XPathHandlerReceive notification of a variable-reference expression.- Specified by:
variableReferencein interfaceXPathHandler- Parameters:
prefix- The ns-uri prefix of the variable.variableName- The name of the variable.
-
startFunction
public void startFunction(java.lang.String prefix, java.lang.String functionName)Description copied from interface:XPathHandlerReceive notification of a function call.- Specified by:
startFunctionin interfaceXPathHandler- Parameters:
prefix- The ns-uri prefix of the function.functionName- The name of the function.
-
endFunction
public void endFunction()
Description copied from interface:XPathHandlerReceive notification of the end of a function call.- Specified by:
endFunctionin interfaceXPathHandler
-
equals
public boolean equals(java.lang.Object thatObj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-