org.jaxen.expr.iter
Class IterableChildAxis
- Serializable
public class IterableChildAxis
Provide access to the child xpath axis.
- Bob McWhirter
- James Strachan
- Stephen Colebourne
serialVersionUID
private static final long serialVersionUID
IterableChildAxis
public IterableChildAxis(int value)
Constructor.
iterator
public Iterator iterator(Object contextNode,
ContextSupport support)
throws UnsupportedAxisException
Gets the iterator for the child axis.
- iterator in interface IterableAxis
contextNode
- the current context node to work fromsupport
- the additional context information
- an iterator over the children of the context node
namedAccessIterator
public Iterator namedAccessIterator(Object contextNode,
ContextSupport support,
String localName,
String namespacePrefix,
String namespaceURI)
throws UnsupportedAxisException
Gets an iterator for the child XPath axis that supports named access.
- namedAccessIterator in interface 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 return
- an iterator over the children of the context node
supportsNamedAccess
public boolean supportsNamedAccess(ContextSupport support)
Does this axis support named access?
- supportsNamedAccess in interface IterableAxis
support
- the additional context information
- true if named access supported. If not iterator() will be used