public abstract class IterableAxis
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private int |
value
The axis type
|
| Constructor and Description |
|---|
IterableAxis(int axisValue)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract java.util.Iterator |
iterator(java.lang.Object contextNode,
ContextSupport support)
Gets the iterator for a specific XPath axis.
|
java.util.Iterator |
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.
|
boolean |
supportsNamedAccess(ContextSupport support)
Does this axis support named access?
|
int |
value()
Gets the axis value.
|
public IterableAxis(int axisValue)
axisValue - public int value()
public abstract java.util.Iterator iterator(java.lang.Object contextNode,
ContextSupport support)
throws UnsupportedAxisException
contextNode - the current context node to work fromsupport - the additional context informationUnsupportedAxisExceptionpublic java.util.Iterator namedAccessIterator(java.lang.Object contextNode,
ContextSupport support,
java.lang.String localName,
java.lang.String namespacePrefix,
java.lang.String namespaceURI)
throws UnsupportedAxisException
contextNode - the current context node to work fromsupport - the additional context informationlocalName - the local name of the nodes to returnnamespacePrefix - the prefix of the namespace of the nodes to returnnamespaceURI - the URI of the namespace of the nodes to returnUnsupportedAxisExceptionpublic boolean supportsNamedAccess(ContextSupport support)
support - the additional context information