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.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.jdom |
Navigation for JDOM trees.
|
org.jaxen.util |
Utility objects for walking object models.
|
Modifier and Type | Interface and Description |
---|---|
interface |
NamedAccessNavigator
Interface for navigating around an arbitrary object model
accessing certain parts by name for performance.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultNavigator
Default implementation of
Navigator . |
Modifier and Type | Field and Description |
---|---|
private Navigator |
BaseXPath.navigator
the implementation-specific Navigator for retrieving XML nodes
|
private Navigator |
ContextSupport.navigator
Model navigator.
|
Modifier and Type | Method and Description |
---|---|
Navigator |
Context.getNavigator()
Retrieve the current
Navigator . |
Navigator |
XPath.getNavigator()
Retrieve the XML object-model-specific
Navigator
used to evaluate this XPath expression. |
Navigator |
BaseXPath.getNavigator()
Retrieve the XML object-model-specific
Navigator
for us in evaluating this XPath expression. |
Navigator |
ContextSupport.getNavigator()
Retrieve the
Navigator . |
Modifier and Type | Method and Description |
---|---|
void |
SimpleNamespaceContext.addElementNamespaces(Navigator nav,
java.lang.Object element)
Adds all the namespace declarations that are in scope on the given
element.
|
Constructor and 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 and Description |
---|---|
class |
DocumentNavigator
Interface for navigating around the W3C DOM Level 2 object model.
|
Modifier and Type | Method and Description |
---|---|
static Navigator |
DocumentNavigator.getInstance()
Get a constant DocumentNavigator for efficiency.
|
Modifier and Type | Method and Description |
---|---|
static Navigator |
DocumentNavigator.getInstance()
Retrieve the singleton instance of this
DocumentNavigator . |
Modifier and Type | Field and Description |
---|---|
private Navigator |
NodeComparator.navigator |
Modifier and Type | Method and Description |
---|---|
private boolean |
DefaultEqualityExpr.evaluateObjectObject(java.lang.Object lhs,
java.lang.Object rhs,
Navigator nav) |
private boolean |
DefaultRelationalExpr.evaluateObjectObject(java.lang.Object lhs,
java.lang.Object rhs,
Navigator nav) |
private java.lang.Boolean |
DefaultEqualityExpr.evaluateSetSet(java.util.List lhsSet,
java.util.List rhsSet,
Navigator nav) |
private java.lang.Object |
DefaultRelationalExpr.evaluateSetSet(java.util.List lhsSet,
java.util.List rhsSet,
Navigator nav) |
Constructor and Description |
---|
NodeComparator(Navigator navigator) |
Modifier and Type | Method and Description |
---|---|
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.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) |
private static java.lang.Boolean |
LangFunction.evaluate(java.util.List contextNodes,
java.lang.Object lang,
Navigator nav) |
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.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.Boolean |
BooleanFunction.evaluate(java.lang.Object obj,
Navigator nav)
Convert the argument
obj to a Boolean
according to the following rules: |
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 |
CeilingFunction.evaluate(java.lang.Object obj,
Navigator nav)
Returns the smallest integer greater than or equal to the argument.
|
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.Double |
SumFunction.evaluate(java.lang.Object obj,
Navigator nav)
Returns the sum of the items in a list.
|
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.lang.Double |
RoundFunction.evaluate(java.lang.Object obj,
Navigator nav)
Returns the integer nearest to the argument.
|
static java.lang.String |
StringFunction.evaluate(java.lang.Object obj,
Navigator nav)
Returns the XPath string-value of
obj . |
static java.lang.Double |
NumberFunction.evaluate(java.lang.Object obj,
Navigator nav)
Returns the number value of
obj . |
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 |
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.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.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.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 boolean |
LangFunction.evaluate(java.lang.Object node,
java.lang.String lang,
Navigator nav) |
Modifier and Type | Method and Description |
---|---|
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
|
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.Boolean |
EndsWithFunction.evaluate(java.lang.Object strArg,
java.lang.Object matchArg,
Navigator nav) |
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 and Description |
---|---|
static java.lang.Object |
DocumentFunction.evaluate(java.lang.String url,
Navigator nav) |
Modifier and Type | Method and Description |
---|---|
static Navigator |
DocumentNavigator.getInstance()
Retrieve the singleton instance of this
DocumentNavigator . |
Modifier and Type | Method and Description |
---|---|
static Navigator |
DocumentNavigator.getInstance() |
Modifier and Type | Field and Description |
---|---|
private Navigator |
StackedIterator.navigator
Deprecated.
|
private Navigator |
FollowingAxisIterator.navigator |
private Navigator |
AncestorOrSelfAxisIterator.navigator |
private Navigator |
FollowingSiblingAxisIterator.navigator |
private Navigator |
PrecedingSiblingAxisIterator.navigator |
private Navigator |
DescendantAxisIterator.navigator |
private Navigator |
PrecedingAxisIterator.navigator |
Modifier and Type | Method and Description |
---|---|
protected Navigator |
StackedIterator.getNavigator()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
StackedIterator.init(java.lang.Object contextNode,
Navigator navigator)
Deprecated.
|
Constructor and 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(Navigator navigator,
java.util.Iterator iterator) |
DescendantAxisIterator(java.lang.Object contextNode,
Navigator navigator)
Create a new
descendant axis 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.
|