org.xmlpull.v1.builder.xpath.jaxen.expr
Interface XPathFactory

All Superinterfaces:
Operator
All Known Implementing Classes:
DefaultXPathFactory

public interface XPathFactory
extends Operator


Field Summary
 
Fields inherited from interface org.xmlpull.v1.builder.xpath.saxpath.Operator
ADD, DIV, EQUALS, GREATER_THAN, GREATER_THAN_EQUALS, LESS_THAN, LESS_THAN_EQUALS, MOD, MULTIPLY, NEGATIVE, NO_OP, NOT_EQUALS, SUBTRACT
 
Method Summary
 LocationPath createAbsoluteLocationPath()
           
 BinaryExpr createAdditiveExpr(Expr lhs, Expr rhs, int additiveOperator)
           
 Step createAllNodeStep(int axis)
           
 BinaryExpr createAndExpr(Expr lhs, Expr rhs)
           
 Step createCommentNodeStep(int axis)
           
 BinaryExpr createEqualityExpr(Expr lhs, Expr rhs, int equalityOperator)
           
 FilterExpr createFilterExpr(Expr expr)
           
 FunctionCallExpr createFunctionCallExpr(java.lang.String prefix, java.lang.String functionName)
           
 LiteralExpr createLiteralExpr(java.lang.String literal)
           
 BinaryExpr createMultiplicativeExpr(Expr lhs, Expr rhs, int multiplicativeOperator)
           
 Step createNameStep(int axis, java.lang.String prefix, java.lang.String localName)
           
 NumberExpr createNumberExpr(double number)
           
 NumberExpr createNumberExpr(int number)
           
 BinaryExpr createOrExpr(Expr lhs, Expr rhs)
           
 PathExpr createPathExpr(FilterExpr filterExpr, LocationPath locationPath)
           
 Predicate createPredicate(Expr predicateExpr)
           
 Step createProcessingInstructionNodeStep(int axis, java.lang.String name)
           
 BinaryExpr createRelationalExpr(Expr lhs, Expr rhs, int relationalOperator)
           
 LocationPath createRelativeLocationPath()
           
 Step createTextNodeStep(int axis)
           
 Expr createUnaryExpr(Expr expr, int unaryOperator)
           
 UnionExpr createUnionExpr(Expr lhs, Expr rhs)
           
 VariableReferenceExpr createVariableReferenceExpr(java.lang.String prefix, java.lang.String variableName)
           
 XPathExpr createXPath(Expr rootExpr)
           
 

Method Detail

createXPath

XPathExpr createXPath(Expr rootExpr)
                      throws JaxenException
Throws:
JaxenException

createPathExpr

PathExpr createPathExpr(FilterExpr filterExpr,
                        LocationPath locationPath)
                        throws JaxenException
Throws:
JaxenException

createRelativeLocationPath

LocationPath createRelativeLocationPath()
                                        throws JaxenException
Throws:
JaxenException

createAbsoluteLocationPath

LocationPath createAbsoluteLocationPath()
                                        throws JaxenException
Throws:
JaxenException

createOrExpr

BinaryExpr createOrExpr(Expr lhs,
                        Expr rhs)
                        throws JaxenException
Throws:
JaxenException

createAndExpr

BinaryExpr createAndExpr(Expr lhs,
                         Expr rhs)
                         throws JaxenException
Throws:
JaxenException

createEqualityExpr

BinaryExpr createEqualityExpr(Expr lhs,
                              Expr rhs,
                              int equalityOperator)
                              throws JaxenException
Throws:
JaxenException

createRelationalExpr

BinaryExpr createRelationalExpr(Expr lhs,
                                Expr rhs,
                                int relationalOperator)
                                throws JaxenException
Throws:
JaxenException

createAdditiveExpr

BinaryExpr createAdditiveExpr(Expr lhs,
                              Expr rhs,
                              int additiveOperator)
                              throws JaxenException
Throws:
JaxenException

createMultiplicativeExpr

BinaryExpr createMultiplicativeExpr(Expr lhs,
                                    Expr rhs,
                                    int multiplicativeOperator)
                                    throws JaxenException
Throws:
JaxenException

createUnaryExpr

Expr createUnaryExpr(Expr expr,
                     int unaryOperator)
                     throws JaxenException
Throws:
JaxenException

createUnionExpr

UnionExpr createUnionExpr(Expr lhs,
                          Expr rhs)
                          throws JaxenException
Throws:
JaxenException

createFilterExpr

FilterExpr createFilterExpr(Expr expr)
                            throws JaxenException
Throws:
JaxenException

createFunctionCallExpr

FunctionCallExpr createFunctionCallExpr(java.lang.String prefix,
                                        java.lang.String functionName)
                                        throws JaxenException
Throws:
JaxenException

createNumberExpr

NumberExpr createNumberExpr(int number)
                            throws JaxenException
Throws:
JaxenException

createNumberExpr

NumberExpr createNumberExpr(double number)
                            throws JaxenException
Throws:
JaxenException

createLiteralExpr

LiteralExpr createLiteralExpr(java.lang.String literal)
                              throws JaxenException
Throws:
JaxenException

createVariableReferenceExpr

VariableReferenceExpr createVariableReferenceExpr(java.lang.String prefix,
                                                  java.lang.String variableName)
                                                  throws JaxenException
Throws:
JaxenException

createNameStep

Step createNameStep(int axis,
                    java.lang.String prefix,
                    java.lang.String localName)
                    throws JaxenException
Throws:
JaxenException

createAllNodeStep

Step createAllNodeStep(int axis)
                       throws JaxenException
Throws:
JaxenException

createCommentNodeStep

Step createCommentNodeStep(int axis)
                           throws JaxenException
Throws:
JaxenException

createTextNodeStep

Step createTextNodeStep(int axis)
                        throws JaxenException
Throws:
JaxenException

createProcessingInstructionNodeStep

Step createProcessingInstructionNodeStep(int axis,
                                         java.lang.String name)
                                         throws JaxenException
Throws:
JaxenException

createPredicate

Predicate createPredicate(Expr predicateExpr)
                          throws JaxenException
Throws:
JaxenException