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.dom4j |
Navigation for dom4j 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.
|
org.jaxen.jdom |
Navigation for JDOM trees.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
Function.call(Context context,
java.util.List args)
Evaluate this function.
|
java.lang.Object |
DefaultNavigator.getDocument(java.lang.String url)
Default implementation that always returns null.
|
java.lang.Object |
Navigator.getDocument(java.lang.String uri)
Loads a document from the given URI
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
DocumentNavigator.getDocument(java.lang.String uri)
Use JAXP to load a namespace aware document from a given URI.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
DocumentNavigator.getDocument(java.lang.String uri) |
Modifier and Type | Method and Description |
---|---|
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 |
BooleanFunction.call(Context context,
java.util.List args)
Convert the argument to a
Boolean |
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 |
LastFunction.call(Context context,
java.util.List args)
Returns the number of nodes in the context node-set.
|
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 |
TrueFunction.call(Context context,
java.util.List args)
Returns
Boolean.TRUE |
java.lang.Object |
IdFunction.call(Context context,
java.util.List args)
Returns a list of the nodes with the specified IDs.
|
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 |
ConcatFunction.call(Context context,
java.util.List args)
Concatenates the arguments and returns the resulting string.
|
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 |
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 |
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 |
FalseFunction.call(Context context,
java.util.List args)
Returns
Boolean.FALSE |
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 |
SumFunction.call(Context context,
java.util.List args)
Returns the sum of its arguments.
|
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 |
FloorFunction.call(Context context,
java.util.List args)
Returns the largest integer less than or equal to a number.
|
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 |
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 |
RoundFunction.call(Context context,
java.util.List args)
Returns the nearest integer to the number.
|
java.lang.Object |
CountFunction.call(Context context,
java.util.List args)
Returns the number of nodes in the specified node-set.
|
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 |
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 |
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 |
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 |
SubstringFunction.call(Context context,
java.util.List args)
Returns a substring of an XPath string-value by character index.
|
java.lang.Object |
PositionFunction.call(Context context,
java.util.List args)
Returns the position of the context node in the context node-set.
|
static java.lang.String |
LocalNameFunction.evaluate(java.util.List list,
Navigator nav)
Returns the local-name of
list.get(0) |
static java.lang.String |
NamespaceUriFunction.evaluate(java.util.List list,
Navigator nav)
Returns the namespace URI of
list.get(0) |
static java.lang.String |
NameFunction.evaluate(java.util.List list,
Navigator nav)
Returns the name of
list.get(0) |
static java.lang.Double |
CountFunction.evaluate(java.lang.Object obj)
Returns the number of nodes in the specified node-set.
|
static java.lang.Double |
StringLengthFunction.evaluate(java.lang.Object obj,
Navigator nav)
Returns the number of Unicode characters in the string-value of
an object.
|
static java.lang.Double |
SumFunction.evaluate(java.lang.Object obj,
Navigator nav)
Returns the sum of the items in a list.
|
static java.lang.String |
TranslateFunction.evaluate(java.lang.Object strArg,
java.lang.Object fromArg,
java.lang.Object toArg,
Navigator nav)
Returns a copy of
strArg in which
characters found in fromArg are replaced by
corresponding characters from toArg . |
private static java.lang.String[] |
TranslateFunction.toUnicodeCharacters(java.lang.String s) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
EndsWithFunction.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 |
LowerFunction.call(Context context,
java.util.List args) |
static java.util.List |
EvaluateFunction.evaluate(Context context,
java.lang.Object arg) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
DocumentFunction.call(Context context,
java.util.List args) |
static java.lang.Object |
DocumentFunction.evaluate(java.lang.String url,
Navigator nav) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
DocumentNavigator.getDocument(java.lang.String uri) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
DocumentNavigator.getDocument(java.lang.String url) |