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
XmlStreamExceptionpublic Map getAttributes()
public int getNumAttributes()
IAttributesIteratorgetNumAttributes in interface IAttributesIteratorpublic boolean hasNext()
throws IOException
IAttributesIteratorhasNext in interface IAttributesIteratorIOExceptionpublic Object nextAttribute() throws IOException
IAttributesIteratornextAttribute in interface IAttributesIteratorIOExceptionpublic IQName nextAttributeName()
nextAttributeName in interface IAttributesIteratorpublic void initialize()
IAttributesIteratorinitialize in interface IAttributesIterator