Uses of Class org.jaxen.Context

Uses in package org.jaxen

Methods with parameter type org.jaxen.Context

Object
Function.call(Context context, List args)
Evaluate this function.
List
Select all nodes that match this XPath expression on the given Context object.
Object
Return only the first node that is selected by this XPath expression.

Methods with return type org.jaxen.Context

Context
Create a type-safe shallow copy.
Context
BaseXPath.getContext(Object node)
Create a Context wrapper for the provided implementation-specific object.

Uses in package org.jaxen.expr

Methods with parameter type org.jaxen.Context

boolean
Returns true if the current filter matches at least one of the context nodes
boolean
Evaluates the filter expression on the current context and returns true if at least one node matches.
List
Evaluates the expression and returns a list cintaing the resulting nodes, or a singleton list containing a Double, String, or Boolean.
List
Evaluates the expression and returns a list cintaing the resulting nodes, or a singleton list containing a Double, String, or Boolean.
Object
Object
Object
Object
Object
Object
Object
Object
Object
Object
Object
List
Evaluate the context node set to find the new node set.
Object
Object
Object
Object
Object
Evaluates this predicate's expression and returns the result.
Object
Evaluate the expression in the given context, and return the result.
List
Object
Object
Object
Object
Evaluate the expression in the given context, and return the result.
Object
Evaluates this predicate's expression and returns the result.
List
For each node in the given context calls matches() for every node on the axis, then filters the result by each of the predicates.
List

Uses in package org.jaxen.function

Methods with parameter type org.jaxen.Context

Object
BooleanFunction.call(Context context, List args)
Convert the argument to a Boolean
Object
CeilingFunction.call(Context context, List args)
Returns the smallest integer greater than or equal to a number.
Object
ConcatFunction.call(Context context, List args)
Concatenates the arguments and returns the resulting string.
Object
ContainsFunction.call(Context context, List args)
Returns true if the string-value of the first item in args contains string-value of the second item; false otherwise.
Object
CountFunction.call(Context context, List args)
Returns the number of nodes in the specified node-set.
Object
FalseFunction.call(Context context, List args)
Returns Boolean.FALSE
Object
FloorFunction.call(Context context, List args)
Returns the largest integer less than or equal to a number.
Object
IdFunction.call(Context context, List args)
Returns a list of the nodes with the specified IDs.
Object
LangFunction.call(Context context, 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.
Object
LastFunction.call(Context context, List args)
Returns the number of nodes in the context node-set.
Object
LocalNameFunction.call(Context context, List args)
Returns the local-name of the specified node or the context node if no arguments are provided.
Object
NameFunction.call(Context context, List args)
Returns the name of the specified node or the name of the context node if no arguments are provided.
Object
NamespaceUriFunction.call(Context context, List args)
Returns the namespace URI of the specified node or the namespace URI of the context node if no arguments are provided.
Object
NormalizeSpaceFunction.call(Context context, 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.
Object
NotFunction.call(Context context, List args)
Returns Boolean.TRUE if the boolean value of args.get(0) is false, and Boolean.FALSE otherwise.
Object
NumberFunction.call(Context context, List args)
Returns the number value of args.get(0), or the number value of the context node if args is empty.
Object
PositionFunction.call(Context context, List args)
Returns the position of the context node in the context node-set.
Object
RoundFunction.call(Context context, List args)
Returns the nearest integer to the number.
Object
StartsWithFunction.call(Context context, 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.
Object
StringFunction.call(Context context, List args)
Returns the string-value of args.get(0) or of the context node if args is empty.
Object
StringLengthFunction.call(Context context, List args)
Returns the number of Unicode characters in the string-value of the argument.
Object
SubstringAfterFunction.call(Context context, 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.
Object
SubstringBeforeFunction.call(Context context, 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.
Object
SubstringFunction.call(Context context, List args)
Returns a substring of an XPath string-value by character index.
Object
SumFunction.call(Context context, List args)
Returns the sum of its arguments.
Object
TranslateFunction.call(Context context, 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.
Object
TrueFunction.call(Context context, List args)
Returns Boolean.TRUE
Double
Returns the number of nodes in the context node-set.
Double
Returns the position of the context node in the context node-set.

Uses in package org.jaxen.function.xslt

Methods with parameter type org.jaxen.Context

Object
DocumentFunction.call(Context context, List args)
Evaluate this function.

Uses in package org.jaxen.function.ext

Methods with parameter type org.jaxen.Context

Object
EndsWithFunction.call(Context context, List args)
Evaluate this function.
Object
EvaluateFunction.call(Context context, List args)
Object
LowerFunction.call(Context context, List args)
Evaluate this function.
Object
UpperFunction.call(Context context, List args)
Evaluate this function.
List
EvaluateFunction.evaluate(Context context, Object arg)

Uses in package org.jaxen.javabean

Methods with return type org.jaxen.Context

Context
Create a Context wrapper for the provided implementation-specific object.

Uses in package org.jaxen.pattern

Methods with parameter type org.jaxen.Context

String
NamespaceTest.getURI(Object node, Context context)
Returns the URI of the current prefix or "" if no URI can be found
boolean
AnyChildNodeTest.matches(Object node, Context context)
boolean
AnyNodeTest.matches(Object node, Context context)
boolean
LocationPathPattern.matches(Object node, Context context)
boolean
NamespaceTest.matches(Object node, Context context)
boolean
NameTest.matches(Object node, Context context)
boolean
NodeTypeTest.matches(Object node, Context context)
boolean
NoNodeTest.matches(Object node, Context context)
boolean
Pattern.matches(Object node, Context context)
boolean
TextNodeTest.matches(Object node, Context context)
boolean
UnionPattern.matches(Object node, Context context)