java.io.Serializable
IterableAncestorAxis
, IterableAncestorOrSelfAxis
, IterableAttributeAxis
, IterableChildAxis
, IterableDescendantAxis
, IterableDescendantOrSelfAxis
, IterableFollowingAxis
, IterableFollowingSiblingAxis
, IterableNamespaceAxis
, IterableParentAxis
, IterablePrecedingAxis
, IterablePrecedingSiblingAxis
, IterableSelfAxis
public abstract class IterableAxis
extends java.lang.Object
implements java.io.Serializable
Constructor | Description |
---|---|
IterableAxis(int axisValue) |
Constructor.
|
Modifier and Type | Method | 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 informationUnsupportedAxisException
public 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 returnUnsupportedAxisException
public boolean supportsNamedAccess(ContextSupport support)
support
- the additional context informationCopyright © 2001–2018 Codehaus. All rights reserved.