public class IterableChildAxis extends IterableAxis
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
IterableChildAxis(int value)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator |
iterator(java.lang.Object contextNode,
ContextSupport support)
Gets the iterator for the child axis.
|
java.util.Iterator |
namedAccessIterator(java.lang.Object contextNode,
ContextSupport support,
java.lang.String localName,
java.lang.String namespacePrefix,
java.lang.String namespaceURI)
Gets an iterator for the child XPath axis that supports named access.
|
boolean |
supportsNamedAccess(ContextSupport support)
Does this axis support named access?
|
valueprivate static final long serialVersionUID
public IterableChildAxis(int value)
value - the axis valuepublic java.util.Iterator iterator(java.lang.Object contextNode,
ContextSupport support)
throws UnsupportedAxisException
iterator in class IterableAxiscontextNode - the current context node to work fromsupport - the additional context informationUnsupportedAxisException - if the child axis is not supportedpublic java.util.Iterator namedAccessIterator(java.lang.Object contextNode,
ContextSupport support,
java.lang.String localName,
java.lang.String namespacePrefix,
java.lang.String namespaceURI)
throws UnsupportedAxisException
namedAccessIterator in class IterableAxiscontextNode - the current context node to work fromsupport - the additional context informationlocalName - the local name of the children to returnnamespacePrefix - the prefix of the namespace of the children to returnnamespaceURI - the URI of the namespace of the children to returnUnsupportedAxisException - if the child axis is not supported by the modelpublic boolean supportsNamedAccess(ContextSupport support)
supportsNamedAccess in class IterableAxissupport - the additional context information