org.jaxen.expr.iter
public abstract class IterableAxis extends Object implements Serializable
Field Summary | |
---|---|
int | value The axis type |
Constructor Summary | |
---|---|
IterableAxis(int axisValue)
Constructor.
|
Method Summary | |
---|---|
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.
|
Parameters: axisValue
Parameters: contextNode the current context node to work from support the additional context information
Returns: an iterator for the axis
Throws: UnsupportedAxisException
Parameters: contextNode the current context node to work from support the additional context information localName the local name of the nodes to return namespacePrefix the prefix of the namespace of the nodes to return namespaceURI the URI of the namespace of the nodes to return
Parameters: support the additional context information
Returns: true if named access supported. If not iterator() will be used
Returns: the axis value