public class IterableAttributeAxis extends IterableAxis
xmlns
and xmlns:prefix
.
It does include attributes defaulted from the DTD.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
IterableAttributeAxis(int value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator |
iterator(java.lang.Object contextNode,
ContextSupport support)
Gets an iterator for the attribute axis.
|
java.util.Iterator |
namedAccessIterator(java.lang.Object contextNode,
ContextSupport support,
java.lang.String localName,
java.lang.String namespacePrefix,
java.lang.String namespaceURI)
Gets the iterator for the attribute axis that supports named access.
|
boolean |
supportsNamedAccess(ContextSupport support)
Does this axis support named access?
|
value
private static final long serialVersionUID
public IterableAttributeAxis(int value)
value
- the axis valuepublic java.util.Iterator iterator(java.lang.Object contextNode, ContextSupport support) throws UnsupportedAxisException
iterator
in class IterableAxis
contextNode
- the current context node to work fromsupport
- the additional context informationUnsupportedAxisException
public 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 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
public boolean supportsNamedAccess(ContextSupport support)
supportsNamedAccess
in class IterableAxis
support
- the additional context information