public class ConformanceXPathHandler extends java.lang.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(java.lang.Object thatObj) |
void |
literal(java.lang.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(java.lang.String prefix,
java.lang.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,
java.lang.String prefix,
java.lang.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,
java.lang.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.
|
java.lang.String |
toString() |
void |
variableReference(java.lang.String prefix,
java.lang.String variableName)
Receive notification of a variable-reference expression.
|
public void startXPath()
XPathHandler
startXPath
in interface XPathHandler
public void endXPath()
XPathHandler
endXPath
in interface XPathHandler
public void startPathExpr()
XPathHandler
startPathExpr
in interface XPathHandler
public void endPathExpr()
XPathHandler
endPathExpr
in interface XPathHandler
public void startAbsoluteLocationPath()
XPathHandler
startAbsoluteLocationPath
in interface XPathHandler
public void endAbsoluteLocationPath()
XPathHandler
endAbsoluteLocationPath
in interface XPathHandler
public void startRelativeLocationPath()
XPathHandler
startRelativeLocationPath
in interface XPathHandler
public void endRelativeLocationPath()
XPathHandler
endRelativeLocationPath
in interface XPathHandler
public void startNameStep(int axis, java.lang.String prefix, java.lang.String localName)
XPathHandler
startNameStep
in interface XPathHandler
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.public void endNameStep()
XPathHandler
endNameStep
in interface XPathHandler
public void startTextNodeStep(int axis)
XPathHandler
startTextNodeStep
in interface XPathHandler
axis
- The axis of this step.public void endTextNodeStep()
XPathHandler
endTextNodeStep
in interface XPathHandler
public void startCommentNodeStep(int axis)
XPathHandler
startCommentNodeStep
in interface XPathHandler
axis
- The axis of this step.public void endCommentNodeStep()
XPathHandler
endCommentNodeStep
in interface XPathHandler
public void startAllNodeStep(int axis)
XPathHandler
startAllNodeStep
in interface XPathHandler
axis
- The axis of this step.public void endAllNodeStep()
XPathHandler
endAllNodeStep
in interface XPathHandler
public void startProcessingInstructionNodeStep(int axis, java.lang.String name)
XPathHandler
startProcessingInstructionNodeStep
in interface XPathHandler
axis
- The axis of this step.name
- The name of the processing-instruction, of
the empty-string if none is specified.public void endProcessingInstructionNodeStep()
XPathHandler
endProcessingInstructionNodeStep
in interface XPathHandler
public void startPredicate()
XPathHandler
startPredicate
in interface XPathHandler
public void endPredicate()
XPathHandler
endPredicate
in interface XPathHandler
public void startFilterExpr()
XPathHandler
startFilterExpr
in interface XPathHandler
public void endFilterExpr()
XPathHandler
endFilterExpr
in interface XPathHandler
public void startOrExpr()
XPathHandler
startOrExpr
in interface XPathHandler
public void endOrExpr(boolean create)
XPathHandler
endOrExpr
in interface XPathHandler
create
- 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()
XPathHandler
startAndExpr
in interface XPathHandler
public void endAndExpr(boolean create)
XPathHandler
endAndExpr
in interface XPathHandler
create
- 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()
XPathHandler
startEqualityExpr
in interface XPathHandler
public void endEqualityExpr(int operator)
XPathHandler
endEqualityExpr
in interface XPathHandler
public void startRelationalExpr()
XPathHandler
startRelationalExpr
in interface XPathHandler
public void endRelationalExpr(int operator)
XPathHandler
endRelationalExpr
in interface XPathHandler
public void startAdditiveExpr()
XPathHandler
startAdditiveExpr
in interface XPathHandler
public void endAdditiveExpr(int operator)
XPathHandler
endAdditiveExpr
in interface XPathHandler
public void startMultiplicativeExpr()
XPathHandler
startMultiplicativeExpr
in interface XPathHandler
public void endMultiplicativeExpr(int operator)
XPathHandler
endMultiplicativeExpr
in interface XPathHandler
public void startUnaryExpr()
XPathHandler
startUnaryExpr
in interface XPathHandler
public void endUnaryExpr(int operator)
XPathHandler
endUnaryExpr
in interface XPathHandler
public void startUnionExpr()
XPathHandler
startUnionExpr
in interface XPathHandler
public void endUnionExpr(boolean create)
XPathHandler
endUnionExpr
in interface XPathHandler
create
- 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)
XPathHandler
number
in interface XPathHandler
number
- The number value.public void number(double number)
XPathHandler
number
in interface XPathHandler
number
- The number value.public void literal(java.lang.String literal)
XPathHandler
literal
in interface XPathHandler
literal
- The string literal value.public void variableReference(java.lang.String prefix, java.lang.String variableName)
XPathHandler
variableReference
in interface XPathHandler
prefix
- The ns-uri prefix of the variable.variableName
- The name of the variable.public void startFunction(java.lang.String prefix, java.lang.String functionName)
XPathHandler
startFunction
in interface XPathHandler
prefix
- The ns-uri prefix of the function.functionName
- The name of the function.public void endFunction()
XPathHandler
endFunction
in interface XPathHandler
public boolean equals(java.lang.Object thatObj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ? 2001 bob mcwhirter & James Strachan. All Rights Reserved. Hosted by