|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Context | |
---|---|
org.jaxen | This package defines the core Jaxen API to the XPath engine. |
org.jaxen.expr | Interfaces and default implementations for XPath expression components. |
org.jaxen.function | Standard XPath function library. |
org.jaxen.function.ext | Extension functions to the standard XPath function library. |
org.jaxen.function.xslt | XPath functions which are defined in XSLT. |
org.jaxen.javabean | Navigation for JavaBeans. |
org.jaxen.pattern | Defines XSLT Pattern objects. |
Uses of Context in org.jaxen |
---|
Methods in org.jaxen that return Context | |
---|---|
Context |
Context.duplicate()
Create a type-safe shallow copy. |
protected Context |
BaseXPath.getContext(java.lang.Object node)
Create a Context wrapper for the provided
implementation-specific object. |
Methods in org.jaxen with parameters of type Context | |
---|---|
java.lang.Object |
Function.call(Context context,
java.util.List args)
Evaluate this function. |
protected java.util.List |
BaseXPath.selectNodesForContext(Context context)
Select all nodes that match this XPath expression on the given Context object. |
protected java.lang.Object |
BaseXPath.selectSingleNodeForContext(Context context)
Return only the first node that is selected by this XPath expression. |
Uses of Context in org.jaxen.expr |
---|
Methods in org.jaxen.expr with parameters of type Context | |
---|---|
boolean |
FilterExpr.asBoolean(Context context)
Evaluates the filter expression on the current context and returns true if at least one node matches. |
boolean |
DefaultFilterExpr.asBoolean(Context context)
Deprecated. Returns true if the current filter matches at least one of the context nodes |
java.util.List |
XPathExpr.asList(Context context)
Evaluates the expression and returns a list cintaing the resulting nodes, or a singleton list containing a Double , String ,
or Boolean . |
java.util.List |
DefaultXPathExpr.asList(Context context)
Deprecated. |
java.lang.Object |
DefaultVariableReferenceExpr.evaluate(Context context)
|
java.lang.Object |
DefaultOrExpr.evaluate(Context context)
|
java.lang.Object |
DefaultFunctionCallExpr.evaluate(Context context)
Deprecated. |
java.lang.Object |
DefaultPlusExpr.evaluate(Context context)
|
java.lang.Object |
DefaultEqualityExpr.evaluate(Context context)
|
java.lang.Object |
DefaultAbsoluteLocationPath.evaluate(Context context)
Deprecated. |
java.lang.Object |
DefaultUnionExpr.evaluate(Context context)
Deprecated. |
java.lang.Object |
DefaultMinusExpr.evaluate(Context context)
|
java.lang.Object |
DefaultRelationalExpr.evaluate(Context context)
|
java.lang.Object |
DefaultPathExpr.evaluate(Context context)
|
java.lang.Object |
DefaultNumberExpr.evaluate(Context context)
|
java.util.List |
DefaultStep.evaluate(Context context)
Deprecated. |
java.lang.Object |
DefaultPredicate.evaluate(Context context)
|
java.lang.Object |
DefaultLocationPath.evaluate(Context context)
|
java.lang.Object |
Expr.evaluate(Context context)
Evaluate the expression in the given context, and return the result. |
java.lang.Object |
DefaultMultiplyExpr.evaluate(Context context)
|
java.lang.Object |
Predicate.evaluate(Context context)
Evaluates this predicate's expression and returns the result. |
java.lang.Object |
DefaultFilterExpr.evaluate(Context context)
Deprecated. |
java.lang.Object |
DefaultUnaryExpr.evaluate(Context context)
|
java.lang.Object |
DefaultLiteralExpr.evaluate(Context context)
|
java.lang.Object |
DefaultAndExpr.evaluate(Context context)
|
java.lang.Object |
DefaultDivExpr.evaluate(Context context)
|
java.util.List |
Step.evaluate(Context context)
For each node in the given context calls matches() for every node on the axis, then filters the result by each of the predicates. |
java.util.List |
DefaultNameStep.evaluate(Context context)
Deprecated. Evaluate the context node set to find the new node set. |
java.lang.Object |
DefaultModExpr.evaluate(Context context)
|
java.util.List |
DefaultFunctionCallExpr.evaluateParams(Context context)
Deprecated. |
Uses of Context in org.jaxen.function |
---|
Methods in org.jaxen.function with parameters of type Context | |
---|---|
java.lang.Object |
BooleanFunction.call(Context context,
java.util.List args)
Convert the argument to a Boolean |
java.lang.Object |
FloorFunction.call(Context context,
java.util.List args)
Returns the largest integer less than or equal to a number. |
java.lang.Object |
CeilingFunction.call(Context context,
java.util.List args)
Returns the smallest integer greater than or equal to a number. |
java.lang.Object |
LangFunction.call(Context context,
java.util.List args)
Determines whether or not the context node is written in the language specified by the XPath string-value of args.get(0) ,
as determined by the nearest xml:lang attribute in scope. |
java.lang.Object |
NameFunction.call(Context context,
java.util.List args)
Returns the name of the specified node or the name of the context node if no arguments are provided. |
java.lang.Object |
FalseFunction.call(Context context,
java.util.List args)
Returns Boolean.FALSE |
java.lang.Object |
SubstringBeforeFunction.call(Context context,
java.util.List args)
Returns the part of the string-value of the first item in args
that comes before the string-value of the second item in args ;
or the empty string if the second string is not a substring of the first string. |
java.lang.Object |
TrueFunction.call(Context context,
java.util.List args)
Returns Boolean.TRUE |
java.lang.Object |
SumFunction.call(Context context,
java.util.List args)
Returns the sum of its arguments. |
java.lang.Object |
NormalizeSpaceFunction.call(Context context,
java.util.List args)
Returns the string-value of the first item in args
after removing all leading and trailing white space, and
replacing each other sequence of whitespace by a single space. |
java.lang.Object |
TranslateFunction.call(Context context,
java.util.List args)
Returns a copy of the first argument in which characters found in the second argument are replaced by corresponding characters from the third argument. |
java.lang.Object |
PositionFunction.call(Context context,
java.util.List args)
Returns the position of the context node in the context node-set. |
java.lang.Object |
CountFunction.call(Context context,
java.util.List args)
Returns the number of nodes in the specified node-set. |
java.lang.Object |
IdFunction.call(Context context,
java.util.List args)
Returns a list of the nodes with the specified IDs. |
java.lang.Object |
SubstringAfterFunction.call(Context context,
java.util.List args)
Returns the part of the string-value of the first item in args
that follows the string-value of the second item in args ;
or the empty string if the second string is not a substring of the first string. |
java.lang.Object |
RoundFunction.call(Context context,
java.util.List args)
Returns the nearest integer to the number. |
java.lang.Object |
NamespaceUriFunction.call(Context context,
java.util.List args)
Returns the namespace URI of the specified node or the namespace URI of the context node if no arguments are provided. |
java.lang.Object |
LocalNameFunction.call(Context context,
java.util.List args)
Returns the local-name of the specified node or the context node if no arguments are provided. |
java.lang.Object |
SubstringFunction.call(Context context,
java.util.List args)
Returns a substring of an XPath string-value by character index. |
java.lang.Object |
NumberFunction.call(Context context,
java.util.List args)
Returns the number value of args.get(0) ,
or the number value of the context node if args
is empty. |
java.lang.Object |
StringLengthFunction.call(Context context,
java.util.List args)
Returns the number of Unicode characters in the string-value of the argument. |
java.lang.Object |
NotFunction.call(Context context,
java.util.List args)
Returns Boolean.TRUE if the boolean value of
args.get(0) is false, and Boolean.FALSE otherwise. |
java.lang.Object |
ContainsFunction.call(Context context,
java.util.List args)
Returns true if the string-value of the first item in args contains string-value of the second
item; false otherwise. |
java.lang.Object |
StringFunction.call(Context context,
java.util.List args)
Returns the string-value of args.get(0)
or of the context node if args is empty. |
java.lang.Object |
StartsWithFunction.call(Context context,
java.util.List args)
Returns true if the string-value of the first item in args
starts with the string-value of the second item in args . |
java.lang.Object |
LastFunction.call(Context context,
java.util.List args)
Returns the number of nodes in the context node-set. |
java.lang.Object |
ConcatFunction.call(Context context,
java.util.List args)
Concatenates the arguments and returns the resulting string. |
static java.lang.Double |
PositionFunction.evaluate(Context context)
Returns the position of the context node in the context node-set. |
static java.lang.Double |
LastFunction.evaluate(Context context)
Returns the number of nodes in the context node-set. |
Uses of Context in org.jaxen.function.ext |
---|
Methods in org.jaxen.function.ext with parameters of type Context | |
---|---|
java.lang.Object |
LowerFunction.call(Context context,
java.util.List args)
|
java.lang.Object |
UpperFunction.call(Context context,
java.util.List args)
|
java.lang.Object |
EvaluateFunction.call(Context context,
java.util.List args)
|
java.lang.Object |
EndsWithFunction.call(Context context,
java.util.List args)
|
static java.util.List |
EvaluateFunction.evaluate(Context context,
java.lang.Object arg)
|
Uses of Context in org.jaxen.function.xslt |
---|
Methods in org.jaxen.function.xslt with parameters of type Context | |
---|---|
java.lang.Object |
DocumentFunction.call(Context context,
java.util.List args)
|
Uses of Context in org.jaxen.javabean |
---|
Methods in org.jaxen.javabean that return Context | |
---|---|
protected Context |
JavaBeanXPath.getContext(java.lang.Object node)
|
Uses of Context in org.jaxen.pattern |
---|
Methods in org.jaxen.pattern with parameters of type Context | |
---|---|
protected java.lang.String |
NamespaceTest.getURI(java.lang.Object node,
Context context)
Returns the URI of the current prefix or "" if no URI can be found |
abstract boolean |
Pattern.matches(java.lang.Object node,
Context context)
|
boolean |
LocationPathPattern.matches(java.lang.Object node,
Context context)
|
boolean |
UnionPattern.matches(java.lang.Object node,
Context context)
|
boolean |
NamespaceTest.matches(java.lang.Object node,
Context context)
|
boolean |
NodeTypeTest.matches(java.lang.Object node,
Context context)
|
boolean |
AnyChildNodeTest.matches(java.lang.Object node,
Context context)
|
boolean |
AnyNodeTest.matches(java.lang.Object node,
Context context)
|
boolean |
NoNodeTest.matches(java.lang.Object node,
Context context)
|
boolean |
NameTest.matches(java.lang.Object node,
Context context)
|
boolean |
TextNodeTest.matches(java.lang.Object node,
Context context)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |