net.sf.swan.xpath.expr
Class DefaultXPathHandler

java.lang.Object
  |
  +--net.sf.swan.xpath.expr.DefaultXPathHandler
All Implemented Interfaces:
org.saxpath.XPathHandler

public class DefaultXPathHandler
extends java.lang.Object
implements org.saxpath.XPathHandler


Constructor Summary
DefaultXPathHandler()
           
 
Method Summary
 void endAbsoluteLocationPath()
           
 void endAdditiveExpr(int additiveOperator)
           
 void endAllNodeStep()
           
 void endAndExpr(boolean create)
           
 void endCommentNodeStep()
           
 void endEqualityExpr(int equalityOperator)
           
 void endFilterExpr()
           
 void endFunction()
           
 void endMultiplicativeExpr(int multiplicativeOperator)
           
 void endNameStep()
           
 void endOrExpr(boolean create)
           
 void endPathExpr()
           
 void endPredicate()
           
 void endProcessingInstructionNodeStep()
           
 void endRelationalExpr(int relationalOperator)
           
 void endRelativeLocationPath()
           
 void endTextNodeStep()
           
 void endUnaryExpr(int unaryOperator)
           
 void endUnionExpr(boolean create)
           
 void endXPath()
           
 void literal(java.lang.String literal)
           
 void number(double number)
           
 void number(int number)
           
 void startAbsoluteLocationPath()
           
 void startAdditiveExpr()
           
 void startAllNodeStep(int axis)
           
 void startAndExpr()
           
 void startCommentNodeStep(int axis)
           
 void startEqualityExpr()
           
 void startFilterExpr()
           
 void startFunction(java.lang.String prefix, java.lang.String functionName)
           
 void startMultiplicativeExpr()
           
 void startNameStep(int axis, java.lang.String prefix, java.lang.String localName)
           
 void startOrExpr()
           
 void startPathExpr()
           
 void startPredicate()
           
 void startProcessingInstructionNodeStep(int axis, java.lang.String name)
           
 void startRelationalExpr()
           
 void startRelativeLocationPath()
           
 void startTextNodeStep(int axis)
           
 void startUnaryExpr()
           
 void startUnionExpr()
           
 void startXPath()
           
 void variableReference(java.lang.String prefix, java.lang.String variableName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultXPathHandler

public DefaultXPathHandler()
Method Detail

startXPath

public void startXPath()
                throws org.saxpath.SAXPathException
Specified by:
startXPath in interface org.saxpath.XPathHandler

endXPath

public void endXPath()
              throws org.saxpath.SAXPathException
Specified by:
endXPath in interface org.saxpath.XPathHandler

startPathExpr

public void startPathExpr()
                   throws org.saxpath.SAXPathException
Specified by:
startPathExpr in interface org.saxpath.XPathHandler

endPathExpr

public void endPathExpr()
                 throws org.saxpath.SAXPathException
Specified by:
endPathExpr in interface org.saxpath.XPathHandler

startAbsoluteLocationPath

public void startAbsoluteLocationPath()
                               throws org.saxpath.SAXPathException
Specified by:
startAbsoluteLocationPath in interface org.saxpath.XPathHandler

endAbsoluteLocationPath

public void endAbsoluteLocationPath()
                             throws org.saxpath.SAXPathException
Specified by:
endAbsoluteLocationPath in interface org.saxpath.XPathHandler

startRelativeLocationPath

public void startRelativeLocationPath()
                               throws org.saxpath.SAXPathException
Specified by:
startRelativeLocationPath in interface org.saxpath.XPathHandler

endRelativeLocationPath

public void endRelativeLocationPath()
                             throws org.saxpath.SAXPathException
Specified by:
endRelativeLocationPath in interface org.saxpath.XPathHandler

startNameStep

public void startNameStep(int axis,
                          java.lang.String prefix,
                          java.lang.String localName)
                   throws org.saxpath.SAXPathException
Specified by:
startNameStep in interface org.saxpath.XPathHandler

endNameStep

public void endNameStep()
                 throws org.saxpath.SAXPathException
Specified by:
endNameStep in interface org.saxpath.XPathHandler

startTextNodeStep

public void startTextNodeStep(int axis)
                       throws org.saxpath.SAXPathException
Specified by:
startTextNodeStep in interface org.saxpath.XPathHandler

endTextNodeStep

public void endTextNodeStep()
                     throws org.saxpath.SAXPathException
Specified by:
endTextNodeStep in interface org.saxpath.XPathHandler

startCommentNodeStep

public void startCommentNodeStep(int axis)
                          throws org.saxpath.SAXPathException
Specified by:
startCommentNodeStep in interface org.saxpath.XPathHandler

endCommentNodeStep

public void endCommentNodeStep()
                        throws org.saxpath.SAXPathException
Specified by:
endCommentNodeStep in interface org.saxpath.XPathHandler

startAllNodeStep

public void startAllNodeStep(int axis)
                      throws org.saxpath.SAXPathException
Specified by:
startAllNodeStep in interface org.saxpath.XPathHandler

endAllNodeStep

public void endAllNodeStep()
                    throws org.saxpath.SAXPathException
Specified by:
endAllNodeStep in interface org.saxpath.XPathHandler

startProcessingInstructionNodeStep

public void startProcessingInstructionNodeStep(int axis,
                                               java.lang.String name)
                                        throws org.saxpath.SAXPathException
Specified by:
startProcessingInstructionNodeStep in interface org.saxpath.XPathHandler

endProcessingInstructionNodeStep

public void endProcessingInstructionNodeStep()
                                      throws org.saxpath.SAXPathException
Specified by:
endProcessingInstructionNodeStep in interface org.saxpath.XPathHandler

startPredicate

public void startPredicate()
                    throws org.saxpath.SAXPathException
Specified by:
startPredicate in interface org.saxpath.XPathHandler

endPredicate

public void endPredicate()
                  throws org.saxpath.SAXPathException
Specified by:
endPredicate in interface org.saxpath.XPathHandler

startFilterExpr

public void startFilterExpr()
                     throws org.saxpath.SAXPathException
Specified by:
startFilterExpr in interface org.saxpath.XPathHandler

endFilterExpr

public void endFilterExpr()
                   throws org.saxpath.SAXPathException
Specified by:
endFilterExpr in interface org.saxpath.XPathHandler

startOrExpr

public void startOrExpr()
                 throws org.saxpath.SAXPathException
Specified by:
startOrExpr in interface org.saxpath.XPathHandler

endOrExpr

public void endOrExpr(boolean create)
               throws org.saxpath.SAXPathException
Specified by:
endOrExpr in interface org.saxpath.XPathHandler

startAndExpr

public void startAndExpr()
                  throws org.saxpath.SAXPathException
Specified by:
startAndExpr in interface org.saxpath.XPathHandler

endAndExpr

public void endAndExpr(boolean create)
                throws org.saxpath.SAXPathException
Specified by:
endAndExpr in interface org.saxpath.XPathHandler

startEqualityExpr

public void startEqualityExpr()
                       throws org.saxpath.SAXPathException
Specified by:
startEqualityExpr in interface org.saxpath.XPathHandler

endEqualityExpr

public void endEqualityExpr(int equalityOperator)
                     throws org.saxpath.SAXPathException
Specified by:
endEqualityExpr in interface org.saxpath.XPathHandler

startRelationalExpr

public void startRelationalExpr()
                         throws org.saxpath.SAXPathException
Specified by:
startRelationalExpr in interface org.saxpath.XPathHandler

endRelationalExpr

public void endRelationalExpr(int relationalOperator)
                       throws org.saxpath.SAXPathException
Specified by:
endRelationalExpr in interface org.saxpath.XPathHandler

startAdditiveExpr

public void startAdditiveExpr()
                       throws org.saxpath.SAXPathException
Specified by:
startAdditiveExpr in interface org.saxpath.XPathHandler

endAdditiveExpr

public void endAdditiveExpr(int additiveOperator)
                     throws org.saxpath.SAXPathException
Specified by:
endAdditiveExpr in interface org.saxpath.XPathHandler

startMultiplicativeExpr

public void startMultiplicativeExpr()
                             throws org.saxpath.SAXPathException
Specified by:
startMultiplicativeExpr in interface org.saxpath.XPathHandler

endMultiplicativeExpr

public void endMultiplicativeExpr(int multiplicativeOperator)
                           throws org.saxpath.SAXPathException
Specified by:
endMultiplicativeExpr in interface org.saxpath.XPathHandler

startUnaryExpr

public void startUnaryExpr()
                    throws org.saxpath.SAXPathException
Specified by:
startUnaryExpr in interface org.saxpath.XPathHandler

endUnaryExpr

public void endUnaryExpr(int unaryOperator)
                  throws org.saxpath.SAXPathException
Specified by:
endUnaryExpr in interface org.saxpath.XPathHandler

startUnionExpr

public void startUnionExpr()
                    throws org.saxpath.SAXPathException
Specified by:
startUnionExpr in interface org.saxpath.XPathHandler

endUnionExpr

public void endUnionExpr(boolean create)
                  throws org.saxpath.SAXPathException
Specified by:
endUnionExpr in interface org.saxpath.XPathHandler

number

public void number(int number)
            throws org.saxpath.SAXPathException
Specified by:
number in interface org.saxpath.XPathHandler

number

public void number(double number)
            throws org.saxpath.SAXPathException
Specified by:
number in interface org.saxpath.XPathHandler

literal

public void literal(java.lang.String literal)
             throws org.saxpath.SAXPathException
Specified by:
literal in interface org.saxpath.XPathHandler

variableReference

public void variableReference(java.lang.String prefix,
                              java.lang.String variableName)
                       throws org.saxpath.SAXPathException
Specified by:
variableReference in interface org.saxpath.XPathHandler

startFunction

public void startFunction(java.lang.String prefix,
                          java.lang.String functionName)
                   throws org.saxpath.SAXPathException
Specified by:
startFunction in interface org.saxpath.XPathHandler

endFunction

public void endFunction()
                 throws org.saxpath.SAXPathException
Specified by:
endFunction in interface org.saxpath.XPathHandler