public class IterableChildAxis extends IterableAxis
Constructor and Description |
---|
IterableChildAxis(int value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Iterator |
iterator(Object contextNode,
ContextSupport support)
Gets the iterator for the child axis.
|
Iterator |
namedAccessIterator(Object contextNode,
ContextSupport support,
String localName,
String namespacePrefix,
String namespaceURI)
Gets an iterator for the child XPath axis that supports named access.
|
boolean |
supportsNamedAccess(ContextSupport support)
Does this axis support named access?
|
value
public IterableChildAxis(int value)
value
- the axis valuepublic Iterator iterator(Object contextNode, ContextSupport support) throws UnsupportedAxisException
iterator
in class IterableAxis
contextNode
- the current context node to work fromsupport
- the additional context informationUnsupportedAxisException
- if the child axis is not supportedpublic Iterator namedAccessIterator(Object contextNode, ContextSupport support, String localName, String namespacePrefix, String namespaceURI) throws UnsupportedAxisException
namedAccessIterator
in class IterableAxis
contextNode
- 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 IterableAxis
support
- the additional context informationCopyright 2001–2022 The Jaxen Project. All rights reserved.