public class IterableAttributeAxis extends IterableAxis
xmlns
and xmlns:prefix
.
It does include attributes defaulted from the DTD.Constructor and Description |
---|
IterableAttributeAxis(int value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Iterator |
iterator(Object contextNode,
ContextSupport support)
Gets an iterator for the attribute axis.
|
Iterator |
namedAccessIterator(Object contextNode,
ContextSupport support,
String localName,
String namespacePrefix,
String namespaceURI)
Gets the iterator for the attribute axis that supports named access.
|
boolean |
supportsNamedAccess(ContextSupport support)
Does this axis support named access?
|
value
public IterableAttributeAxis(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 axis is not iterablepublic 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 attributes to returnnamespacePrefix
- the prefix of the namespace of the attributes to returnnamespaceURI
- the uri of the namespace of the attributes to returnUnsupportedAxisException
- always until overriddenpublic boolean supportsNamedAccess(ContextSupport support)
supportsNamedAccess
in class IterableAxis
support
- the additional context informationCopyright 2001–2022 The Jaxen Project. All rights reserved.