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 numeric constant for the axis.
|
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 informationUnsupportedAxisException
- if the axis is not iterablepublic 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 returnUnsupportedAxisException
- always until overriddenpublic boolean supportsNamedAccess(ContextSupport support)
support
- the additional context informationCopyright 2001–2022 The Jaxen Project. All rights reserved.