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.
|
org.jaxen.util |
Utility objects for walking object models.
|
org.jaxen.xom |
Navigation for XOM trees.
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
NamedAccessNavigator |
Interface for navigating around an arbitrary object model
accessing certain parts by name for performance.
|
Modifier and Type | Class | Description |
---|---|---|
class |
DefaultNavigator |
Default implementation of
Navigator . |
Modifier and Type | Method | Description |
---|---|---|
Navigator |
BaseXPath.getNavigator() |
Retrieve the XML object-model-specific
Navigator
for us in evaluating this XPath expression. |
Navigator |
Context.getNavigator() |
Retrieve the current
Navigator . |
Navigator |
ContextSupport.getNavigator() |
Retrieve the
Navigator . |
Navigator |
XPath.getNavigator() |
Retrieve the XML object-model-specific
Navigator
used to evaluate this XPath expression. |
Modifier and Type | Method | Description |
---|---|---|
void |
SimpleNamespaceContext.addElementNamespaces(Navigator nav,
java.lang.Object element) |
Adds all the namespace declarations that are in scope on the given
element.
|
Constructor | Description |
---|---|
BaseXPath(java.lang.String xpathExpr,
Navigator navigator) |
Construct given an XPath expression string.
|
ContextSupport(NamespaceContext namespaceContext,
FunctionContext functionContext,
VariableContext variableContext,
Navigator navigator) |
Create a new ContextSupport object.
|
Modifier and Type | Class | Description |
---|---|---|
class |
DocumentNavigator |
Interface for navigating around the W3C DOM Level 2 object model.
|
Modifier and Type | Method | Description |
---|---|---|
static Navigator |
DocumentNavigator.getInstance() |
Get a constant DocumentNavigator for efficiency.
|
Modifier and Type | Class | Description |
---|---|---|
class |
DocumentNavigator |
Interface for navigating around the DOM4J object model.
|
Modifier and Type | Method | Description |
---|---|---|
static Navigator |
DocumentNavigator.getInstance() |
Retrieve the singleton instance of this
DocumentNavigator . |
Modifier and Type | Method | Description |
---|---|---|
static java.lang.Boolean |
BooleanFunction.evaluate(java.lang.Object obj,
Navigator nav) |
Convert the argument
obj to a Boolean
according to the following rules: |
static java.lang.Double |
CeilingFunction.evaluate(java.lang.Object obj,
Navigator nav) |
Returns the smallest integer greater than or equal to the argument.
|
static java.lang.String |
ConcatFunction.evaluate(java.util.List list,
Navigator nav) |
Converts each item in the list to a string and returns the
concatenation of these strings.
|
static java.lang.Boolean |
ContainsFunction.evaluate(java.lang.Object strArg,
java.lang.Object matchArg,
Navigator nav) |
Returns true if the first string contains the second string; false otherwise.
|
static java.lang.Double |
FloorFunction.evaluate(java.lang.Object obj,
Navigator nav) |
Returns the largest integer less than or equal to the argument.
|
static java.util.List |
IdFunction.evaluate(java.util.List contextNodes,
java.lang.Object arg,
Navigator nav) |
Returns a list of the nodes with the specified IDs.
|
static java.lang.String |
LocalNameFunction.evaluate(java.util.List list,
Navigator nav) |
Returns the local-name 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.String |
NamespaceUriFunction.evaluate(java.util.List list,
Navigator nav) |
Returns the namespace URI of
list.get(0) |
static java.lang.String |
NormalizeSpaceFunction.evaluate(java.lang.Object strArg,
Navigator nav) |
Returns the string-value of
strArg after removing
all leading and trailing white space, and
replacing each other sequence of whitespace by a single space. |
static java.lang.Boolean |
NotFunction.evaluate(java.lang.Object obj,
Navigator nav) |
Returns
Boolean.TRUE if the boolean value of
obj is false, and Boolean.FALSE otherwise. |
static java.lang.Double |
NumberFunction.evaluate(java.lang.Object obj,
Navigator nav) |
Returns the number value of
obj . |
static java.lang.Double |
RoundFunction.evaluate(java.lang.Object obj,
Navigator nav) |
Returns the integer nearest to the argument.
|
static java.lang.Boolean |
StartsWithFunction.evaluate(java.lang.Object strArg,
java.lang.Object matchArg,
Navigator nav) |
Returns true if the string-value of
strArg
starts with the string-value of matchArg . |
static java.lang.String |
StringFunction.evaluate(java.lang.Object obj,
Navigator nav) |
Returns the XPath string-value of
obj . |
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.String |
SubstringAfterFunction.evaluate(java.lang.Object strArg,
java.lang.Object matchArg,
Navigator nav) |
Returns the part of
strArg that follows the first occurence
of matchArg ; or the empty string if the
strArg does not contain matchArg |
static java.lang.String |
SubstringBeforeFunction.evaluate(java.lang.Object strArg,
java.lang.Object matchArg,
Navigator nav) |
Returns the part of
strArg that precedes the first occurence
of matchArg ; or the empty string if the
strArg does not contain matchArg |
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 . |
Modifier and Type | Method | Description |
---|---|---|
static java.lang.Boolean |
EndsWithFunction.evaluate(java.lang.Object strArg,
java.lang.Object matchArg,
Navigator nav) |
|
static java.lang.String |
LowerFunction.evaluate(java.lang.Object strArg,
java.util.Locale locale,
Navigator nav) |
Converts the given string value to lower case using an optional Locale
|
static java.lang.String |
UpperFunction.evaluate(java.lang.Object strArg,
java.util.Locale locale,
Navigator nav) |
Converts the given string value to upper case using an optional Locale
|
protected java.util.Locale |
LocaleFunctionSupport.getLocale(java.lang.Object value,
Navigator navigator) |
Attempts to convert the given function argument value
into a Locale either via casting, extracting it from a List
or looking up the named Locale using reflection.
|
Modifier and Type | Method | Description |
---|---|---|
static java.lang.Object |
DocumentFunction.evaluate(java.lang.String url,
Navigator nav) |
Modifier and Type | Class | Description |
---|---|---|
class |
DocumentNavigator |
Interface for navigating around a JavaBean object model.
|
Modifier and Type | Method | Description |
---|---|---|
static Navigator |
DocumentNavigator.getInstance() |
Retrieve the singleton instance of this
DocumentNavigator . |
Modifier and Type | Class | Description |
---|---|---|
class |
DocumentNavigator |
Interface for navigating around the JDOM object model.
|
Modifier and Type | Method | Description |
---|---|---|
static Navigator |
DocumentNavigator.getInstance() |
Modifier and Type | Method | Description |
---|---|---|
protected Navigator |
StackedIterator.getNavigator() |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
StackedIterator.init(java.lang.Object contextNode,
Navigator navigator) |
Deprecated.
|
Constructor | Description |
---|---|
AncestorAxisIterator(java.lang.Object contextNode,
Navigator navigator) |
Create a new ancestor axis iterator.
|
AncestorOrSelfAxisIterator(java.lang.Object contextNode,
Navigator navigator) |
Create a new
ancestor-or-self axis iterator. |
DescendantAxisIterator(java.lang.Object contextNode,
Navigator navigator) |
Create a new
descendant axis iterator. |
DescendantAxisIterator(Navigator navigator,
java.util.Iterator iterator) |
|
DescendantOrSelfAxisIterator(java.lang.Object contextNode,
Navigator navigator) |
Create a new
desscendant-or-self axis iterator. |
FollowingAxisIterator(java.lang.Object contextNode,
Navigator navigator) |
Create a new
following axis iterator. |
FollowingSiblingAxisIterator(java.lang.Object contextNode,
Navigator navigator) |
Create a new
following-sibling axis iterator. |
PrecedingAxisIterator(java.lang.Object contextNode,
Navigator navigator) |
Create a new
preceding axis iterator. |
PrecedingSiblingAxisIterator(java.lang.Object contextNode,
Navigator navigator) |
Create a new
preceding-sibling axis iterator. |
StackedIterator(java.lang.Object contextNode,
Navigator navigator) |
Deprecated.
|
Modifier and Type | Class | Description |
---|---|---|
class |
DocumentNavigator |
Interface for navigating around the XOM object model.
|
Copyright © 2001–2018 Codehaus. All rights reserved.