org.jaxen.expr
Class DefaultXPathFactory
java.lang.Object
|
+--org.jaxen.expr.DefaultXPathFactory
- All Implemented Interfaces:
- org.saxpath.Operator, XPathFactory
- public class DefaultXPathFactory
- extends Object
- implements XPathFactory
Fields inherited from interface org.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)
|
Step |
createProcessingInstructionNodeStep(int axis,
String piName)
|
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 variable)
|
XPathExpr |
createXPath(Expr rootExpr)
|
protected IterableAxis |
getIterableAxis(int axis)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultXPathFactory
public DefaultXPathFactory()
createXPath
public XPathExpr createXPath(Expr rootExpr)
throws JaxenException
- Specified by:
createXPath
in interface XPathFactory
createPathExpr
public PathExpr createPathExpr(FilterExpr filterExpr,
LocationPath locationPath)
throws JaxenException
- Specified by:
createPathExpr
in interface XPathFactory
createRelativeLocationPath
public LocationPath createRelativeLocationPath()
throws JaxenException
- Specified by:
createRelativeLocationPath
in interface XPathFactory
createAbsoluteLocationPath
public LocationPath createAbsoluteLocationPath()
throws JaxenException
- Specified by:
createAbsoluteLocationPath
in interface XPathFactory
createOrExpr
public BinaryExpr createOrExpr(Expr lhs,
Expr rhs)
throws JaxenException
- Specified by:
createOrExpr
in interface XPathFactory
createAndExpr
public BinaryExpr createAndExpr(Expr lhs,
Expr rhs)
throws JaxenException
- Specified by:
createAndExpr
in interface XPathFactory
createEqualityExpr
public BinaryExpr createEqualityExpr(Expr lhs,
Expr rhs,
int equalityOperator)
throws JaxenException
- Specified by:
createEqualityExpr
in interface XPathFactory
createRelationalExpr
public BinaryExpr createRelationalExpr(Expr lhs,
Expr rhs,
int relationalOperator)
throws JaxenException
- Specified by:
createRelationalExpr
in interface XPathFactory
createAdditiveExpr
public BinaryExpr createAdditiveExpr(Expr lhs,
Expr rhs,
int additiveOperator)
throws JaxenException
- Specified by:
createAdditiveExpr
in interface XPathFactory
createMultiplicativeExpr
public BinaryExpr createMultiplicativeExpr(Expr lhs,
Expr rhs,
int multiplicativeOperator)
throws JaxenException
- Specified by:
createMultiplicativeExpr
in interface XPathFactory
createUnaryExpr
public Expr createUnaryExpr(Expr expr,
int unaryOperator)
throws JaxenException
- Specified by:
createUnaryExpr
in interface XPathFactory
createUnionExpr
public UnionExpr createUnionExpr(Expr lhs,
Expr rhs)
throws JaxenException
- Specified by:
createUnionExpr
in interface XPathFactory
createFilterExpr
public FilterExpr createFilterExpr(Expr expr)
throws JaxenException
- Specified by:
createFilterExpr
in interface XPathFactory
createFunctionCallExpr
public FunctionCallExpr createFunctionCallExpr(String prefix,
String functionName)
throws JaxenException
- Specified by:
createFunctionCallExpr
in interface XPathFactory
createNumberExpr
public NumberExpr createNumberExpr(int number)
throws JaxenException
- Specified by:
createNumberExpr
in interface XPathFactory
createNumberExpr
public NumberExpr createNumberExpr(double number)
throws JaxenException
- Specified by:
createNumberExpr
in interface XPathFactory
createLiteralExpr
public LiteralExpr createLiteralExpr(String literal)
throws JaxenException
- Specified by:
createLiteralExpr
in interface XPathFactory
createVariableReferenceExpr
public VariableReferenceExpr createVariableReferenceExpr(String prefix,
String variable)
throws JaxenException
- Specified by:
createVariableReferenceExpr
in interface XPathFactory
createNameStep
public Step createNameStep(int axis,
String prefix,
String localName)
throws JaxenException
- Specified by:
createNameStep
in interface XPathFactory
createTextNodeStep
public Step createTextNodeStep(int axis)
throws JaxenException
- Specified by:
createTextNodeStep
in interface XPathFactory
createCommentNodeStep
public Step createCommentNodeStep(int axis)
throws JaxenException
- Specified by:
createCommentNodeStep
in interface XPathFactory
createAllNodeStep
public Step createAllNodeStep(int axis)
throws JaxenException
- Specified by:
createAllNodeStep
in interface XPathFactory
createProcessingInstructionNodeStep
public Step createProcessingInstructionNodeStep(int axis,
String piName)
throws JaxenException
- Specified by:
createProcessingInstructionNodeStep
in interface XPathFactory
createPredicate
public Predicate createPredicate(Expr predicateExpr)
throws JaxenException
- Specified by:
createPredicate
in interface XPathFactory
getIterableAxis
protected IterableAxis getIterableAxis(int axis)
Copyright © 2002 bob mcwhirter & James Strachan. All Rights Reserved. Hosted by