Package | Description |
---|---|
org.apache.commons.jxpath |
Public, abstract part of JXPath: interfaces and configuration.
|
org.apache.commons.jxpath.functions |
Implementations of Java class-based extension functions.
|
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).
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
Function.invoke(ExpressionContext context,
java.lang.Object[] parameters) |
Computes the value of the function.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
ConstructorFunction.invoke(ExpressionContext context,
java.lang.Object[] parameters) |
Converts parameters to suitable types and invokes the constructor.
|
java.lang.Object |
MethodFunction.invoke(ExpressionContext context,
java.lang.Object[] parameters) |
Modifier and Type | Class | Description |
---|---|---|
class |
EvalContext |
An XPath evaluation context.
|
Modifier and Type | Class | Description |
---|---|---|
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)
|