Package | Description |
---|---|
org.apache.commons.jxpath.ri.axes |
Implementations of EvalContext used for different XPath axes (child::, parent:: etc).
|
org.apache.commons.jxpath.ri.compiler |
XPath parse tree.
|
Modifier and Type | Method and Description |
---|---|
static NodePointer |
SimplePathInterpreter.createNullPointer(EvalContext context,
NodePointer parent,
Step[] steps,
int currentStep)
Creates a "null pointer" that
a) represents the requested path and
b) can be used for creation of missing nodes in the path.
|
static NodePointer |
SimplePathInterpreter.interpretSimpleExpressionPath(EvalContext context,
NodePointer root,
Expression[] predicates,
Step[] steps)
Interpret the steps of a simple expression path that
starts with the given root, which is the result of evaluation
of the root expression of the expression path, applies the
given predicates to it and then follows the given steps.
|
static NodePointer |
SimplePathInterpreter.interpretSimpleLocationPath(EvalContext context,
NodePointer root,
Step[] steps)
Interpret a simple path that starts with the given root and
follows the given steps.
|
Modifier and Type | Method and Description |
---|---|
Step[] |
Path.getSteps()
Get the steps.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
Path.isSimpleStep(Step step)
A Step is "simple" if it takes one of these forms: "
|
Constructor and Description |
---|
ExpressionPath(Expression expression,
Expression[] predicates,
Step[] steps)
Create a new ExpressionPath.
|
LocationPath(boolean absolute,
Step[] steps)
Create a new LocationPath.
|
Path(Step[] steps)
Create a new Path.
|
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.