net.sf.swan.xpath.expr
Class SelectorXPathFactory
java.lang.Object
|
+--org.jaxen.expr.DefaultXPathFactory
|
+--net.sf.swan.xpath.expr.SelectorXPathFactory
- All Implemented Interfaces:
- org.saxpath.Operator, org.jaxen.expr.XPathFactory
- public class SelectorXPathFactory
- extends org.jaxen.expr.DefaultXPathFactory
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 |
Methods inherited from class org.jaxen.expr.DefaultXPathFactory |
createAdditiveExpr, createAndExpr, createEqualityExpr, createFilterExpr, createLiteralExpr, createMultiplicativeExpr, createNumberExpr, createNumberExpr, createOrExpr, createPathExpr, createPredicate, createPredicateSet, createRelationalExpr, createUnaryExpr, createUnionExpr, createXPath, getIterableAxis |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOCUMENT_TEST
public static final NodeTest DOCUMENT_TEST
TEXT_TEST
public static final NodeTest TEXT_TEST
ELEMENT_TEST
public static final NodeTest ELEMENT_TEST
ATTRIBUTE_TEST
public static final NodeTest ATTRIBUTE_TEST
PI_TEST
public static final NodeTest PI_TEST
COMMENT_TEST
public static final NodeTest COMMENT_TEST
ANY_NODE_TEST
public static final NodeTest ANY_NODE_TEST
SelectorXPathFactory
public SelectorXPathFactory(ParseContext parseContext,
org.jaxen.FunctionContext fnContext)
setParseContext
public void setParseContext(ParseContext context)
getParseContext
public ParseContext getParseContext()
setFunctionContext
public void setFunctionContext(org.jaxen.FunctionContext context)
getFunctionContext
public org.jaxen.FunctionContext getFunctionContext()
createFunctionCallExpr
public org.jaxen.expr.FunctionCallExpr createFunctionCallExpr(java.lang.String prefix,
java.lang.String functionName)
throws org.jaxen.JaxenException
- Overrides:
createFunctionCallExpr
in class org.jaxen.expr.DefaultXPathFactory
createVariableReferenceExpr
public org.jaxen.expr.VariableReferenceExpr createVariableReferenceExpr(java.lang.String prefix,
java.lang.String name)
throws org.jaxen.JaxenException
- Overrides:
createVariableReferenceExpr
in class org.jaxen.expr.DefaultXPathFactory
createRelativeLocationPath
public org.jaxen.expr.LocationPath createRelativeLocationPath()
throws org.jaxen.JaxenException
- Overrides:
createRelativeLocationPath
in class org.jaxen.expr.DefaultXPathFactory
createAbsoluteLocationPath
public org.jaxen.expr.LocationPath createAbsoluteLocationPath()
throws org.jaxen.JaxenException
- Overrides:
createAbsoluteLocationPath
in class org.jaxen.expr.DefaultXPathFactory
createNameStep
public org.jaxen.expr.Step createNameStep(int axis,
java.lang.String prefix,
java.lang.String localName)
throws org.jaxen.JaxenException
- Overrides:
createNameStep
in class org.jaxen.expr.DefaultXPathFactory
createTextNodeStep
public org.jaxen.expr.Step createTextNodeStep(int axis)
throws org.jaxen.JaxenException
- Overrides:
createTextNodeStep
in class org.jaxen.expr.DefaultXPathFactory
createCommentNodeStep
public org.jaxen.expr.Step createCommentNodeStep(int axis)
throws org.jaxen.JaxenException
- Overrides:
createCommentNodeStep
in class org.jaxen.expr.DefaultXPathFactory
createAllNodeStep
public org.jaxen.expr.Step createAllNodeStep(int axis)
throws org.jaxen.JaxenException
- Overrides:
createAllNodeStep
in class org.jaxen.expr.DefaultXPathFactory
createProcessingInstructionNodeStep
public org.jaxen.expr.Step createProcessingInstructionNodeStep(int axis,
java.lang.String piName)
throws org.jaxen.JaxenException
- Overrides:
createProcessingInstructionNodeStep
in class org.jaxen.expr.DefaultXPathFactory
createNodeTestStep
protected net.sf.swan.xpath.expr.NodeTestStep createNodeTestStep(int axis,
NodeTest nodeTest)
throws org.jaxen.JaxenException
resolveNamespacePrefix
protected java.lang.String resolveNamespacePrefix(java.lang.String prefix)
throws org.jaxen.JaxenException
toQName
protected java.lang.String toQName(java.lang.String prefix,
java.lang.String localName)