org.jaxen.expr
Interface XPathFactory

All Superinterfaces:
Operator
All Known Implementing Classes:
DefaultXPathFactory

public interface XPathFactory
extends Operator


Field Summary
 
Fields inherited from interface org.jaxen.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(String prefix, String functionName)
           
 LiteralExpr createLiteralExpr(String literal)
           
 BinaryExpr createMultiplicativeExpr(Expr lhs, Expr rhs, int multiplicativeOperator)
           
 Step createNameStep(int axis, String prefix, 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)
           
 PredicateSet createPredicateSet()
           
 Step createProcessingInstructionNodeStep(int axis, 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(String prefix, String variableName)
           
 XPathExpr createXPath(Expr rootExpr)
           
 

Method Detail

createXPath

public XPathExpr createXPath(Expr rootExpr)
                      throws JaxenException
JaxenException

createPathExpr

public PathExpr createPathExpr(FilterExpr filterExpr,
                               LocationPath locationPath)
                        throws JaxenException
JaxenException

createRelativeLocationPath

public LocationPath createRelativeLocationPath()
                                        throws JaxenException
JaxenException

createAbsoluteLocationPath

public LocationPath createAbsoluteLocationPath()
                                        throws JaxenException
JaxenException

createOrExpr

public BinaryExpr createOrExpr(Expr lhs,
                               Expr rhs)
                        throws JaxenException
JaxenException

createAndExpr

public BinaryExpr createAndExpr(Expr lhs,
                                Expr rhs)
                         throws JaxenException
JaxenException

createEqualityExpr

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

createRelationalExpr

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

createAdditiveExpr

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

createMultiplicativeExpr

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

createUnaryExpr

public Expr createUnaryExpr(Expr expr,
                            int unaryOperator)
                     throws JaxenException
JaxenException

createUnionExpr

public UnionExpr createUnionExpr(Expr lhs,
                                 Expr rhs)
                          throws JaxenException
JaxenException

createFilterExpr

public FilterExpr createFilterExpr(Expr expr)
                            throws JaxenException
JaxenException

createFunctionCallExpr

public FunctionCallExpr createFunctionCallExpr(String prefix,
                                               String functionName)
                                        throws JaxenException
JaxenException

createNumberExpr

public NumberExpr createNumberExpr(int number)
                            throws JaxenException
JaxenException

createNumberExpr

public NumberExpr createNumberExpr(double number)
                            throws JaxenException
JaxenException

createLiteralExpr

public LiteralExpr createLiteralExpr(String literal)
                              throws JaxenException
JaxenException

createVariableReferenceExpr

public VariableReferenceExpr createVariableReferenceExpr(String prefix,
                                                         String variableName)
                                                  throws JaxenException
JaxenException

createNameStep

public Step createNameStep(int axis,
                           String prefix,
                           String localName)
                    throws JaxenException
JaxenException

createAllNodeStep

public Step createAllNodeStep(int axis)
                       throws JaxenException
JaxenException

createCommentNodeStep

public Step createCommentNodeStep(int axis)
                           throws JaxenException
JaxenException

createTextNodeStep

public Step createTextNodeStep(int axis)
                        throws JaxenException
JaxenException

createProcessingInstructionNodeStep

public Step createProcessingInstructionNodeStep(int axis,
                                                String name)
                                         throws JaxenException
JaxenException

createPredicate

public Predicate createPredicate(Expr predicateExpr)
                          throws JaxenException
JaxenException

createPredicateSet

public PredicateSet createPredicateSet()
                                throws JaxenException
JaxenException


Copyright © 2001-2003 Codehaus. All Rights Reserved.