Class DefaultXPathHandler

java.lang.Object
org.jaxen.saxpath.helpers.DefaultXPathHandler
All Implemented Interfaces:
XPathHandler

public class DefaultXPathHandler extends Object implements XPathHandler
Default base class for SAXPath event handlers. This class is available as a convenience base class for SAXPath applications: it provides a default do-nothing implementation for all of the callbacks in the core SAXPath handler class, XPathHandler. 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.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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
    Receive notification of the end of a node() step.
    void
    endAndExpr(boolean create)
    Receive notification of the end of an 'and' expression.
    void
    Receive notification of the end of a comment() step.
    void
    endEqualityExpr(int operator)
    Receive notification of the end of an equality ('=' or '!=') expression.
    void
    Receive notification of the end of a filter expression.
    void
    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
    Receive notification of the end of a NameStep
    void
    endOrExpr(boolean create)
    Receive notification of the end of an 'or' expression.
    void
    Receive notification of the end of a path expression.
    void
    Receive notification of the end of a predicate.
    void
    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
    Receive notification of the end of a relative location path expression.
    void
    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
    Receive notification of the end of an XPath expression parse.
    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
    Receive notification of the start of an absolute location path expression.
    void
    Receive notification of the start of an additive ('+' or '-') expression.
    void
    startAllNodeStep(int axis)
    Receive notification of the start of a node() step.
    void
    Receive notification of the start of an 'and' expression.
    void
    Receive notification of the start of a comment() step.
    void
    Receive notification of the start of an equality ('=' or '!=') expression.
    void
    Receive notification of the start of a filter expression.
    void
    startFunction(String prefix, String functionName)
    Receive notification of a function call.
    void
    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
    Receive notification of the start of an 'or' expression.
    void
    Receive notification of the start of a path expression.
    void
    Receive notification of the start of a predicate.
    void
    Receive notification of the start of a processing-instruction(...) step.
    void
    Receive notification of the start of a relational ('<', '>', '<=', or '>=') expression.
    void
    Receive notification of the start of a relative location path expression.
    void
    Receive notification of the start of a text() step.
    void
    Receive notification of the start of a unary ('+' or '-') expression.
    void
    Receive notification of the start of a union ('|') expression.
    void
    Receive notification of the start of an XPath expression parse.
    void
    variableReference(String prefix, String variableName)
    Receive notification of a variable-reference expression.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait