public class XMLAttributesIterator extends Object implements IAttributesIterator
Constructor and Description |
---|
XMLAttributesIterator(IXmlStreamReader parser) |
Modifier and Type | Method and Description |
---|---|
Map |
getAttributes() |
int |
getNumAttributes()
Returns the dimension of the attributes list.
|
boolean |
hasNext()
Returns whether there are more attributes in this sequence
|
void |
initialize()
Initializes the iterator
|
Object |
nextAttribute()
Value of next attribute
|
IQName |
nextAttributeName() |
public XMLAttributesIterator(IXmlStreamReader parser) throws XmlStreamException
XmlStreamException
public Map getAttributes()
public int getNumAttributes()
IAttributesIterator
getNumAttributes
in interface IAttributesIterator
public boolean hasNext() throws IOException
IAttributesIterator
hasNext
in interface IAttributesIterator
IOException
public Object nextAttribute() throws IOException
IAttributesIterator
nextAttribute
in interface IAttributesIterator
IOException
public IQName nextAttributeName()
nextAttributeName
in interface IAttributesIterator
public void initialize()
IAttributesIterator
initialize
in interface IAttributesIterator