public abstract class IterableAxis extends Object implements Serializable
| Constructor and Description |
|---|
IterableAxis(int axisValue)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Iterator |
iterator(Object contextNode,
ContextSupport support)
Gets the iterator for a specific XPath axis.
|
Iterator |
namedAccessIterator(Object contextNode,
ContextSupport support,
String localName,
String namespacePrefix,
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 Iterator iterator(Object contextNode, ContextSupport support) throws UnsupportedAxisException
contextNode - the current context node to work fromsupport - the additional context informationUnsupportedAxisExceptionpublic Iterator namedAccessIterator(Object contextNode, ContextSupport support, String localName, String namespacePrefix, 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 informationCopyright © 2001-2012 Codehaus. All Rights Reserved.