| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.jaxen.saxpath.helpers.DefaultXPathHandlerXPathHandler.
Application writers can extend this class when they need to
implement only part of the XPathHandler
interface. Parser writers can instantiate
this class to provide default handlers when the application has not
supplied its own. Method Summary | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
public void endAbsoluteLocationPath()
throws SAXPathExceptionReceive notification of the end of an absolute location path expression.
- Specified by:
- endAbsoluteLocationPath in interface XPathHandler
public void endAdditiveExpr(int operator)
throws SAXPathExceptionReceive notification of the end of an additive ('+' or '-') expression.
- Specified by:
- endAdditiveExpr in interface XPathHandler
- Parameters:
public void endAllNodeStep()
throws SAXPathExceptionReceive notification of the end of a node() step.
- Specified by:
- endAllNodeStep in interface XPathHandler
public void endAndExpr(boolean create)
throws SAXPathExceptionReceive notification of the end of an 'and' expression.
- Specified by:
- endAndExpr in interface XPathHandler
- 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
public void endCommentNodeStep()
throws SAXPathExceptionReceive notification of the end of a comment() step.
- Specified by:
- endCommentNodeStep in interface XPathHandler
public void endEqualityExpr(int operator)
throws SAXPathExceptionReceive notification of the end of an equality ('=' or '!=') expression.
- Specified by:
- endEqualityExpr in interface XPathHandler
- Parameters:
public void endFilterExpr()
throws SAXPathExceptionReceive notification of the end of a filter expression.
- Specified by:
- endFilterExpr in interface XPathHandler
public void endFunction()
throws SAXPathExceptionReceive notification of the end of a function call
- Specified by:
- endFunction in interface XPathHandler
public void endMultiplicativeExpr(int operator)
throws SAXPathExceptionReceive notification of the start of a multiplicative ('*', 'div' or 'mod') expression.
- Specified by:
- endMultiplicativeExpr in interface XPathHandler
- Parameters:
public void endNameStep()
throws SAXPathExceptionReceive notification of the end of a NameStep
- Specified by:
- endNameStep in interface XPathHandler
public void endOrExpr(boolean create)
throws SAXPathExceptionReceive notification of the end of an 'or' expression.
- Specified by:
- endOrExpr in interface XPathHandler
- 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
public void endPathExpr()
throws SAXPathExceptionReceive notification of the end of a path expression.
- Specified by:
- endPathExpr in interface XPathHandler
public void endPredicate()
throws SAXPathExceptionReceive notification of the end of a predicate.
- Specified by:
- endPredicate in interface XPathHandler
public void endProcessingInstructionNodeStep()
throws SAXPathExceptionReceive notification of the end of a processing-instruction(...) step.
- Specified by:
- endProcessingInstructionNodeStep in interface XPathHandler
public void endRelationalExpr(int operator)
throws SAXPathExceptionReceive notification of the start of a relational ('<', '>', '<=', or '>=') expression.
- Specified by:
- endRelationalExpr in interface XPathHandler
- Parameters:
public void endRelativeLocationPath()
throws SAXPathExceptionReceive notification of the end of a relative location path expression.
- Specified by:
- endRelativeLocationPath in interface XPathHandler
public void endTextNodeStep()
throws SAXPathExceptionReceive notification of the end of a text() step.
- Specified by:
- endTextNodeStep in interface XPathHandler
public void endUnaryExpr(int operator)
throws SAXPathExceptionReceive notification of the end of a unary ('+' or '-') expression.
- Specified by:
- endUnaryExpr in interface XPathHandler
- Parameters:
public void endUnionExpr(boolean create)
throws SAXPathExceptionReceive notification of the end of a union ('|') expression.
- Specified by:
- endUnionExpr in interface XPathHandler
- 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
public void endXPath()
throws SAXPathExceptionReceive notification of the end of an XPath expression parse.
- Specified by:
- endXPath in interface XPathHandler
public void literal(String literal)
throws SAXPathExceptionReceive notification of a literal expression.
- Specified by:
- literal in interface XPathHandler
- Parameters:
literal- the string literal value
public void number(double number)
throws SAXPathExceptionReceive notification of a number expression.
- Specified by:
- number in interface XPathHandler
- Parameters:
number- the number value
public void number(int number)
throws SAXPathExceptionReceive notification of a number expression.
- Specified by:
- number in interface XPathHandler
- Parameters:
number- the number value
public void startAbsoluteLocationPath()
throws SAXPathExceptionReceive notification of the start of an absolute location path expression.
- Specified by:
- startAbsoluteLocationPath in interface XPathHandler
public void startAdditiveExpr()
throws SAXPathExceptionReceive notification of the start of an additive ('+' or '-') expression.
- Specified by:
- startAdditiveExpr in interface XPathHandler
public void startAllNodeStep(int axis)
throws SAXPathExceptionReceive notification of the start of a node() step.
- Specified by:
- startAllNodeStep in interface XPathHandler
- Parameters:
axis- the axis of this step
public void startAndExpr()
throws SAXPathExceptionReceive notification of the start of an 'and' expression.
- Specified by:
- startAndExpr in interface XPathHandler
public void startCommentNodeStep(int axis)
throws SAXPathExceptionReceive notification of the start of a comment() step.
- Specified by:
- startCommentNodeStep in interface XPathHandler
- Parameters:
axis- the axis of this step
public void startEqualityExpr()
throws SAXPathExceptionReceive notification of the start of an equality ('=' or '!=') expression.
- Specified by:
- startEqualityExpr in interface XPathHandler
public void startFilterExpr()
throws SAXPathExceptionReceive notification of the start of a filter expression.
- Specified by:
- startFilterExpr in interface XPathHandler
public void startFunction(String prefix,
String functionName)
throws SAXPathExceptionReceive notification of a function call.
- Specified by:
- startFunction in interface XPathHandler
- Parameters:
prefix- the namespace prefix of the functionfunctionName- the local name of the function
public void startMultiplicativeExpr()
throws SAXPathExceptionReceive notification of the start of a multiplicative ('*', 'div' or 'mod') expression.
- Specified by:
- startMultiplicativeExpr in interface XPathHandler
public void startNameStep(int axis,
String prefix,
String localName)
throws SAXPathExceptionReceive notification of the start of a name step.
- Specified by:
- startNameStep in interface XPathHandler
- Parameters:
axis- the axis of this stepprefix- the namespace prefix for the name to test, or the empty string if no prefix is specifiedlocalName- the local part of the name to test
public void startOrExpr()
throws SAXPathExceptionReceive notification of the start of an 'or' expression.
- Specified by:
- startOrExpr in interface XPathHandler
public void startPathExpr()
throws SAXPathExceptionReceive notification of the start of a path expression.
- Specified by:
- startPathExpr in interface XPathHandler
public void startPredicate()
throws SAXPathExceptionReceive notification of the start of a predicate.
- Specified by:
- startPredicate in interface XPathHandler
public void startProcessingInstructionNodeStep(int axis,
String name)
throws SAXPathExceptionReceive notification of the start of a processing-instruction(...) step.
- Specified by:
- startProcessingInstructionNodeStep in interface XPathHandler
- Parameters:
axis- the axis of this stepname- the name of the processing-instruction, or the empty string if none is specified
public void startRelationalExpr()
throws SAXPathExceptionReceive notification of the start of a relational ('<', '>', '<=', or '>=') expression.
- Specified by:
- startRelationalExpr in interface XPathHandler
public void startRelativeLocationPath()
throws SAXPathExceptionReceive notification of the start of a relative location path expression.
- Specified by:
- startRelativeLocationPath in interface XPathHandler
public void startTextNodeStep(int axis)
throws SAXPathExceptionReceive notification of the start of a text() step.
- Specified by:
- startTextNodeStep in interface XPathHandler
- Parameters:
axis- the axis of this step
public void startUnaryExpr()
throws SAXPathExceptionReceive notification of the start of a unary ('+' or '-') expression.
- Specified by:
- startUnaryExpr in interface XPathHandler
public void startUnionExpr()
throws SAXPathExceptionReceive notification of the start of a union ('|') expression.
- Specified by:
- startUnionExpr in interface XPathHandler
public void startXPath()
throws SAXPathExceptionReceive notification of the start of an XPath expression parse.
- Specified by:
- startXPath in interface XPathHandler
public void variableReference(String prefix,
String variableName)
throws SAXPathExceptionReceive notification of a variable-reference expression.
- Specified by:
- variableReference in interface XPathHandler
- Parameters:
prefix- the namespace prefix of the variablevariableName- the local name of the variable