|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use EvalContext | |
---|---|
org.apache.commons.jxpath.ri | Reference implementation of JXPath. |
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. |
Uses of EvalContext in org.apache.commons.jxpath.ri |
---|
Fields in org.apache.commons.jxpath.ri declared as EvalContext | |
---|---|
protected EvalContext |
EvalContext.parentContext
parent context |
Methods in org.apache.commons.jxpath.ri that return EvalContext | |
---|---|
EvalContext |
JXPathContextReferenceImpl.getAbsoluteRootContext()
Get the absolute root context. |
Constructors in org.apache.commons.jxpath.ri with parameters of type EvalContext | |
---|---|
EvalContext(EvalContext parentContext)
Create a new EvalContext. |
Uses of EvalContext in org.apache.commons.jxpath.ri.axes |
---|
Subclasses of EvalContext in org.apache.commons.jxpath.ri.axes | |
---|---|
class |
AncestorContext
EvalContext that walks the "ancestor::" and "ancestor-or-self::" axes. |
class |
AttributeContext
EvalContext that walks the "attribute::" axis. |
class |
ChildContext
EvalContext that can walk the "child::", "following-sibling::" and "preceding-sibling::" axes. |
class |
DescendantContext
An EvalContext that walks the "descendant::" and "descendant-or-self::" axes. |
class |
InitialContext
A single-set EvalContext that provides access to the current node of the parent context and nothing else. |
class |
NamespaceContext
EvalContext that walks the "namespace::" axis. |
class |
NodeSetContext
A simple context that is based on a NodeSet . |
class |
ParentContext
EvalContext that walks the "parent::" axis. |
class |
PrecedingOrFollowingContext
EvalContext that walks the "preceding::" and "following::" axes. |
class |
PredicateContext
EvalContext that checks predicates. |
class |
RootContext
EvalContext that is used to hold the root node for the path traversal. |
class |
SelfContext
EvalContext that returns the current node from the parent context if the test succeeds. |
class |
UnionContext
EvalContext that represents a union between other contexts - result of a union operation like (a | b) |
Methods in org.apache.commons.jxpath.ri.axes that return EvalContext | |
---|---|
EvalContext |
RootContext.getAbsoluteRootContext()
Get absolute root context |
EvalContext |
RootContext.getConstantContext(Object constant)
Get a context that points to the specified object. |
EvalContext |
RootContext.getVariableContext(QName variableName)
Get variable context. |
Methods in org.apache.commons.jxpath.ri.axes with parameters of type EvalContext | |
---|---|
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. |
Constructors in org.apache.commons.jxpath.ri.axes with parameters of type EvalContext | |
---|---|
AncestorContext(EvalContext parentContext,
boolean includeSelf,
NodeTest nodeTest)
Create a new AncestorContext. |
|
AttributeContext(EvalContext parentContext,
NodeTest nodeTest)
Create a new AttributeContext. |
|
ChildContext(EvalContext parentContext,
NodeTest nodeTest,
boolean startFromParentLocation,
boolean reverse)
Create a new ChildContext. |
|
DescendantContext(EvalContext parentContext,
boolean includeSelf,
NodeTest nodeTest)
Create a new DescendantContext. |
|
InitialContext(EvalContext parentContext)
Create a new InitialContext. |
|
NamespaceContext(EvalContext parentContext,
NodeTest nodeTest)
|
|
NodeSetContext(EvalContext parentContext,
NodeSet nodeSet)
Create a new NodeSetContext. |
|
ParentContext(EvalContext parentContext,
NodeTest nodeTest)
Create a new ParentContext. |
|
PrecedingOrFollowingContext(EvalContext parentContext,
NodeTest nodeTest,
boolean reverse)
Create a new PrecedingOrFollowingContext. |
|
PredicateContext(EvalContext parentContext,
Expression expression)
Create a new PredicateContext. |
|
SelfContext(EvalContext parentContext,
NodeTest nodeTest)
Create a new SelfContext. |
|
UnionContext(EvalContext parentContext,
EvalContext[] contexts)
Create a new UnionContext. |
|
UnionContext(EvalContext parentContext,
EvalContext[] contexts)
Create a new UnionContext. |
Uses of EvalContext in org.apache.commons.jxpath.ri.compiler |
---|
Methods in org.apache.commons.jxpath.ri.compiler that return EvalContext | |
---|---|
protected EvalContext |
Path.buildContextChain(EvalContext context,
int stepCount,
boolean createInitialContext)
Build a context from a chain of contexts. |
protected EvalContext |
Path.createContextForStep(EvalContext context,
int axis,
NodeTest nodeTest)
Different axes are serviced by different contexts. |
protected EvalContext |
Path.evalSteps(EvalContext context)
Given a root context, walks a path therefrom and builds a context that contains all nodes matching the path. |
Methods in org.apache.commons.jxpath.ri.compiler with parameters of type EvalContext | |
---|---|
protected EvalContext |
Path.buildContextChain(EvalContext context,
int stepCount,
boolean createInitialContext)
Build a context from a chain of contexts. |
Object |
VariableReference.compute(EvalContext context)
|
Object |
LocationPath.compute(EvalContext context)
|
Object |
ExtensionFunction.compute(EvalContext context)
|
Object |
ExpressionPath.compute(EvalContext context)
|
abstract Object |
Expression.compute(EvalContext context)
Evaluates the expression. |
Object |
CoreOperation.compute(EvalContext context)
|
Object |
CoreFunction.compute(EvalContext context)
|
Object |
Constant.compute(EvalContext context)
|
Object |
VariableReference.computeValue(EvalContext context)
Returns the value of the variable. |
Object |
LocationPath.computeValue(EvalContext context)
|
Object |
ExtensionFunction.computeValue(EvalContext context)
|
Object |
ExpressionPath.computeValue(EvalContext context)
|
abstract Object |
Expression.computeValue(EvalContext context)
Evaluates the expression. |
Object |
CoreOperationUnion.computeValue(EvalContext context)
|
Object |
CoreOperationSubtract.computeValue(EvalContext context)
|
Object |
CoreOperationRelationalExpression.computeValue(EvalContext context)
|
Object |
CoreOperationOr.computeValue(EvalContext context)
|
Object |
CoreOperationNegate.computeValue(EvalContext context)
|
Object |
CoreOperationMultiply.computeValue(EvalContext context)
|
Object |
CoreOperationMod.computeValue(EvalContext context)
|
Object |
CoreOperationDivide.computeValue(EvalContext context)
|
Object |
CoreOperationCompare.computeValue(EvalContext context)
|
Object |
CoreOperationAnd.computeValue(EvalContext context)
|
Object |
CoreOperationAdd.computeValue(EvalContext context)
|
abstract Object |
CoreOperation.computeValue(EvalContext context)
|
Object |
CoreFunction.computeValue(EvalContext context)
|
Object |
Constant.computeValue(EvalContext context)
|
protected EvalContext |
Path.createContextForStep(EvalContext context,
int axis,
NodeTest nodeTest)
Different axes are serviced by different contexts. |
protected boolean |
CoreOperationCompare.equal(EvalContext context,
Expression left,
Expression right)
Compares two values. |
protected EvalContext |
Path.evalSteps(EvalContext context)
Given a root context, walks a path therefrom and builds a context that contains all nodes matching the path. |
protected Object |
ExpressionPath.expressionPath(EvalContext evalContext,
boolean firstMatch)
Walks an expression path (a path that starts with an expression) |
protected Object |
CoreFunction.functionBoolean(EvalContext context)
boolean() implementation. |
protected Object |
CoreFunction.functionCeiling(EvalContext context)
ceiling() implementation. |
protected Object |
CoreFunction.functionConcat(EvalContext context)
concat() implementation. |
protected Object |
CoreFunction.functionContains(EvalContext context)
contains() implementation. |
protected Object |
CoreFunction.functionCount(EvalContext context)
count() implementation. |
protected Object |
CoreFunction.functionFalse(EvalContext context)
false() implementation. |
protected Object |
CoreFunction.functionFloor(EvalContext context)
floor() implementation. |
protected Object |
CoreFunction.functionID(EvalContext context)
id() implementation. |
protected Object |
CoreFunction.functionKey(EvalContext context)
key() implementation. |
protected Object |
CoreFunction.functionLang(EvalContext context)
lang() implementation. |
protected Object |
CoreFunction.functionLast(EvalContext context)
last() implementation. |
protected Object |
CoreFunction.functionLocalName(EvalContext context)
local-name() implementation. |
protected Object |
CoreFunction.functionName(EvalContext context)
name() implementation. |
protected Object |
CoreFunction.functionNamespaceURI(EvalContext context)
namespace-uri() implementation. |
protected Object |
CoreFunction.functionNormalizeSpace(EvalContext context)
normalize-space() implementation. |
protected Object |
CoreFunction.functionNot(EvalContext context)
not() implementation. |
protected Object |
CoreFunction.functionNull(EvalContext context)
null() implementation. |
protected Object |
CoreFunction.functionNumber(EvalContext context)
number() implementation. |
protected Object |
CoreFunction.functionPosition(EvalContext context)
position() implementation. |
protected Object |
CoreFunction.functionRound(EvalContext context)
round() implementation. |
protected Object |
CoreFunction.functionStartsWith(EvalContext context)
starts-with() implementation. |
protected Object |
CoreFunction.functionString(EvalContext context)
string() implementation. |
protected Object |
CoreFunction.functionStringLength(EvalContext context)
string-length() implementation. |
protected Object |
CoreFunction.functionSubstring(EvalContext context)
substring() implementation. |
protected Object |
CoreFunction.functionSubstringAfter(EvalContext context)
substring-after() implementation. |
protected Object |
CoreFunction.functionSubstringBefore(EvalContext context)
substring-before() implementation. |
protected Object |
CoreFunction.functionSum(EvalContext context)
sum() implementation. |
protected Object |
CoreFunction.functionTranslate(EvalContext context)
translate() implementation. |
protected Object |
CoreFunction.functionTrue(EvalContext context)
true() implementation. |
protected Pointer |
Path.getSingleNodePointerForSteps(EvalContext context)
Given a root context, walks a path therefrom and finds the pointer to the first element matching the path. |
Iterator |
Expression.iterate(EvalContext context)
Iterate over the values from the specified context. |
Iterator |
Expression.iteratePointers(EvalContext context)
Iterate over the pointers from the specified context. |
protected Pointer |
Path.searchForPath(EvalContext context)
The idea here is to return a NullPointer rather than null if that's at all possible. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |