Package | Description |
---|---|
org.jaxen |
This package defines the core Jaxen API to the XPath engine.
|
org.jaxen.dom |
Navigation for W3C DOM trees.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Object |
Function.call(Context context,
List args)
Evaluate this function.
|
Object |
Navigator.getDocument(String uri)
Loads a document from the given URI
|
Object |
DefaultNavigator.getDocument(String url)
Default implementation that always returns null.
|
Modifier and Type | Method and Description |
---|---|
Object |
DocumentNavigator.getDocument(String uri)
Use JAXP to load a namespace aware document from a given URI.
|
Modifier and Type | Method and Description |
---|---|
Object |
FloorFunction.call(Context context,
List args)
Returns the largest integer less than or equal to a number.
|
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 |
NotFunction.call(Context context,
List args)
Returns
Boolean.TRUE if the boolean value of
args.get(0) is false, and Boolean.FALSE otherwise. |
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 |
FalseFunction.call(Context context,
List args)
Returns
Boolean.FALSE |
Object |
CountFunction.call(Context context,
List args)
Returns the number of nodes in the specified node-set.
|
Object |
RoundFunction.call(Context context,
List args)
Returns the nearest integer to the number.
|
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 |
SumFunction.call(Context context,
List args)
Returns the sum of its arguments.
|
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 |
SubstringFunction.call(Context context,
List args)
Returns a substring of an XPath string-value by character index.
|
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 |
TrueFunction.call(Context context,
List args)
Returns
Boolean.TRUE |
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 |
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 |
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 |
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 |
ConcatFunction.call(Context context,
List args)
Concatenates the arguments and returns the resulting string.
|
Object |
StringLengthFunction.call(Context context,
List args)
Returns the number of Unicode characters in the string-value of the argument.
|
Object |
PositionFunction.call(Context context,
List args)
Returns the position of the context node in the context node-set.
|
Object |
CeilingFunction.call(Context context,
List args)
Returns the smallest integer greater than or equal to a number.
|
Object |
IdFunction.call(Context context,
List args)
Returns a list of the nodes with the specified IDs.
|
Object |
BooleanFunction.call(Context context,
List args)
Convert the argument to a
Boolean |
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 |
StringFunction.call(Context context,
List args)
Returns the string-value of
args.get(0)
or of the context node if args is empty. |
Object |
LastFunction.call(Context context,
List args)
Returns the number of nodes in the context node-set.
|
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. |
static String |
NamespaceUriFunction.evaluate(List list,
Navigator nav)
Returns the namespace URI of
list.get(0) |
static String |
LocalNameFunction.evaluate(List list,
Navigator nav)
Returns the local-name of
list.get(0) |
static String |
NameFunction.evaluate(List list,
Navigator nav)
Returns the name of
list.get(0) |
static Double |
CountFunction.evaluate(Object obj)
Returns the number of nodes in the specified node-set.
|
static Double |
SumFunction.evaluate(Object obj,
Navigator nav)
Returns the sum of the items in a list.
|
static Double |
StringLengthFunction.evaluate(Object obj,
Navigator nav)
Returns the number of Unicode characters in the string-value of
an object.
|
static String |
TranslateFunction.evaluate(Object strArg,
Object fromArg,
Object toArg,
Navigator nav)
Returns a copy of
strArg in which
characters found in fromArg are replaced by
corresponding characters from toArg . |
Modifier and Type | Method and Description |
---|---|
Object |
EndsWithFunction.call(Context context,
List args) |
Object |
UpperFunction.call(Context context,
List args) |
Object |
EvaluateFunction.call(Context context,
List args) |
Object |
LowerFunction.call(Context context,
List args) |
static List |
EvaluateFunction.evaluate(Context context,
Object arg) |
Modifier and Type | Method and Description |
---|---|
Object |
DocumentFunction.call(Context context,
List args) |
static Object |
DocumentFunction.evaluate(String url,
Navigator nav) |
Modifier and Type | Method and Description |
---|---|
Object |
DocumentNavigator.getDocument(String uri) |
Copyright 2001–2022 The Jaxen Project. All rights reserved.