org.jaxen.expr.iter
Class IterableAttributeAxis
- Serializable
public class IterableAttributeAxis
Provide access to the XPath attribute axis.
This axis does not include namespace declarations such as
xmlns
and xmlns:prefix
.
It does include attributes defaulted from the DTD.
- Bob McWhirter
- James Strachan
- Stephen Colebourne
serialVersionUID
private static final long serialVersionUID
IterableAttributeAxis
public IterableAttributeAxis(int value)
Constructor.
namedAccessIterator
public Iterator namedAccessIterator(Object contextNode,
ContextSupport support,
String localName,
String namespacePrefix,
String namespaceURI)
throws UnsupportedAxisException
Gets the iterator for the attribute 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 attributes to returnnamespacePrefix
- the prefix of the namespace of the attributes to returnnamespaceURI
- the uri of the namespace of the attributes to return
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 is supported. If not iterator() will be used.