public final class AttributeIterator extends java.lang.Object implements AxisIterator, LookaheadIterator
Constructor and Description |
---|
AttributeIterator(FleetingElementNode element,
AttributeMap attributes)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Test if there are more nodes still to come.
|
NodeInfo |
next()
Get the next node in the iteration, or null if there are no more.
|
boolean |
supportsHasNext()
Ask whether the hasNext() method can be called.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, discharge
public AttributeIterator(FleetingElementNode element, AttributeMap attributes)
element
- the element whose attributes are required.public boolean supportsHasNext()
LookaheadIterator
supportsHasNext
in interface LookaheadIterator
LookaheadIterator.hasNext()
method is availablepublic boolean hasNext()
hasNext
in interface LookaheadIterator
public NodeInfo next()
next
in interface SequenceIterator
next
in interface AxisIterator
Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.