Package | Description |
---|---|
org.jaxen |
This package defines the core Jaxen API to the XPath engine.
|
org.jaxen.expr |
Interfaces and default implementations for
XPath expression components.
|
org.jaxen.expr.iter |
Axis iterator creation functors.
|
org.jaxen.function |
Standard XPath function library.
|
org.jaxen.util |
Utility objects for walking object models.
|
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.
|
java.util.Iterator |
DefaultNavigator.getAncestorAxisIterator(java.lang.Object contextNode) |
java.util.Iterator |
Navigator.getAncestorAxisIterator(java.lang.Object contextNode)
Retrieve an
Iterator matching the ancestor
XPath axis. |
java.util.Iterator |
DefaultNavigator.getAncestorOrSelfAxisIterator(java.lang.Object contextNode) |
java.util.Iterator |
Navigator.getAncestorOrSelfAxisIterator(java.lang.Object contextNode)
Retrieve an
Iterator matching the
ancestor-or-self XPath axis. |
java.util.Iterator |
DefaultNavigator.getAttributeAxisIterator(java.lang.Object contextNode)
Throws
UnsupportedAxisException . |
java.util.Iterator |
Navigator.getAttributeAxisIterator(java.lang.Object contextNode)
Retrieve an
Iterator matching the attribute
XPath axis. |
java.util.Iterator |
NamedAccessNavigator.getAttributeAxisIterator(java.lang.Object contextNode,
java.lang.String localName,
java.lang.String namespacePrefix,
java.lang.String namespaceURI)
Retrieve an
Iterator that returns the attribute
XPath axis where the names of the attributes match the supplied name
and optional namespace. |
java.util.Iterator |
DefaultNavigator.getChildAxisIterator(java.lang.Object contextNode)
Throws
UnsupportedAxisException |
java.util.Iterator |
Navigator.getChildAxisIterator(java.lang.Object contextNode)
Retrieve an
Iterator matching the child
XPath axis. |
java.util.Iterator |
NamedAccessNavigator.getChildAxisIterator(java.lang.Object contextNode,
java.lang.String localName,
java.lang.String namespacePrefix,
java.lang.String namespaceURI)
Retrieve an
Iterator that returns the child
XPath axis where the names of the children match the supplied name
and optional namespace. |
java.util.Iterator |
DefaultNavigator.getDescendantAxisIterator(java.lang.Object contextNode) |
java.util.Iterator |
Navigator.getDescendantAxisIterator(java.lang.Object contextNode)
Retrieve an
Iterator matching the descendant
XPath axis. |
java.util.Iterator |
DefaultNavigator.getDescendantOrSelfAxisIterator(java.lang.Object contextNode) |
java.util.Iterator |
Navigator.getDescendantOrSelfAxisIterator(java.lang.Object contextNode)
Retrieve an
Iterator matching the
descendant-or-self XPath axis. |
java.util.Iterator |
DefaultNavigator.getFollowingAxisIterator(java.lang.Object contextNode) |
java.util.Iterator |
Navigator.getFollowingAxisIterator(java.lang.Object contextNode)
Retrieve an
Iterator matching the following
XPath axis. |
java.util.Iterator |
DefaultNavigator.getFollowingSiblingAxisIterator(java.lang.Object contextNode) |
java.util.Iterator |
Navigator.getFollowingSiblingAxisIterator(java.lang.Object contextNode)
Retrieve an
Iterator matching the
following-sibling XPath axis. |
java.util.Iterator |
DefaultNavigator.getNamespaceAxisIterator(java.lang.Object contextNode)
Throws
UnsupportedAxisException . |
java.util.Iterator |
Navigator.getNamespaceAxisIterator(java.lang.Object contextNode)
Retrieve an
Iterator matching the namespace
XPath axis. |
java.util.Iterator |
DefaultNavigator.getParentAxisIterator(java.lang.Object contextNode)
Throws
UnsupportedAxisException |
java.util.Iterator |
Navigator.getParentAxisIterator(java.lang.Object contextNode)
Retrieve an
Iterator matching the parent XPath axis. |
java.lang.Object |
DefaultNavigator.getParentNode(java.lang.Object contextNode)
Default inefficient implementation.
|
java.lang.Object |
Navigator.getParentNode(java.lang.Object contextNode)
Returns the parent of the given context node.
|
java.util.Iterator |
DefaultNavigator.getPrecedingAxisIterator(java.lang.Object contextNode) |
java.util.Iterator |
Navigator.getPrecedingAxisIterator(java.lang.Object contextNode)
Retrieve an
Iterator matching the preceding XPath axis. |
java.util.Iterator |
DefaultNavigator.getPrecedingSiblingAxisIterator(java.lang.Object contextNode) |
java.util.Iterator |
Navigator.getPrecedingSiblingAxisIterator(java.lang.Object contextNode)
Retrieve an
Iterator matching the
preceding-sibling XPath axis. |
java.util.Iterator |
DefaultNavigator.getSelfAxisIterator(java.lang.Object contextNode) |
java.util.Iterator |
Navigator.getSelfAxisIterator(java.lang.Object contextNode)
Retrieve an
Iterator matching the self XPath
axis. |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator |
Step.axisIterator(java.lang.Object contextNode,
ContextSupport support)
Get an Iterator for the current axis starting in the given contextNode.
|
java.util.Iterator |
DefaultStep.axisIterator(java.lang.Object contextNode,
ContextSupport support)
Deprecated.
|
private int |
NodeComparator.compareSiblings(java.lang.Object sib1,
java.lang.Object sib2) |
private int |
NodeComparator.getDepth(java.lang.Object o) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator |
IterableFollowingAxis.iterator(java.lang.Object contextNode,
ContextSupport support) |
java.util.Iterator |
IterablePrecedingSiblingAxis.iterator(java.lang.Object contextNode,
ContextSupport support) |
java.util.Iterator |
IterableAncestorAxis.iterator(java.lang.Object contextNode,
ContextSupport support) |
abstract java.util.Iterator |
IterableAxis.iterator(java.lang.Object contextNode,
ContextSupport support)
Gets the iterator for a specific XPath axis.
|
java.util.Iterator |
IterableAncestorOrSelfAxis.iterator(java.lang.Object contextNode,
ContextSupport support) |
java.util.Iterator |
IterableDescendantAxis.iterator(java.lang.Object contextNode,
ContextSupport support) |
java.util.Iterator |
IterableSelfAxis.iterator(java.lang.Object contextNode,
ContextSupport support) |
java.util.Iterator |
IterableDescendantOrSelfAxis.iterator(java.lang.Object contextNode,
ContextSupport support) |
java.util.Iterator |
IterablePrecedingAxis.iterator(java.lang.Object contextNode,
ContextSupport support) |
java.util.Iterator |
IterableFollowingSiblingAxis.iterator(java.lang.Object contextNode,
ContextSupport support) |
java.util.Iterator |
IterableChildAxis.iterator(java.lang.Object contextNode,
ContextSupport support)
Gets the iterator for the child axis.
|
java.util.Iterator |
IterableParentAxis.iterator(java.lang.Object contextNode,
ContextSupport support) |
java.util.Iterator |
IterableAttributeAxis.iterator(java.lang.Object contextNode,
ContextSupport support)
Gets an iterator for the attribute axis.
|
java.util.Iterator |
IterableNamespaceAxis.iterator(java.lang.Object contextNode,
ContextSupport support) |
java.util.Iterator |
IterableAxis.namedAccessIterator(java.lang.Object contextNode,
ContextSupport support,
java.lang.String localName,
java.lang.String namespacePrefix,
java.lang.String namespaceURI)
Gets the iterator for a specific XPath axis that supports named access.
|
java.util.Iterator |
IterableChildAxis.namedAccessIterator(java.lang.Object contextNode,
ContextSupport support,
java.lang.String localName,
java.lang.String namespacePrefix,
java.lang.String namespaceURI)
Gets an iterator for the child XPath axis that supports named access.
|
java.util.Iterator |
IterableAttributeAxis.namedAccessIterator(java.lang.Object contextNode,
ContextSupport support,
java.lang.String localName,
java.lang.String namespacePrefix,
java.lang.String namespaceURI)
Gets the iterator for the attribute axis that supports named access.
|
Modifier and Type | Method and Description |
---|---|
private static java.lang.Boolean |
LangFunction.evaluate(java.util.List contextNodes,
java.lang.Object lang,
Navigator nav) |
private static boolean |
LangFunction.evaluate(java.lang.Object node,
java.lang.String lang,
Navigator nav) |
Modifier and Type | Method and Description |
---|---|
private void |
FollowingSiblingAxisIterator.init() |
private void |
PrecedingSiblingAxisIterator.init() |
Constructor and Description |
---|
DescendantAxisIterator(java.lang.Object contextNode,
Navigator navigator)
Create a new
descendant 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. |