public class XMLAttributesIterator extends java.lang.Object implements IAttributesIterator
| Constructor and Description |
|---|
XMLAttributesIterator(IXmlStreamReader parser) |
| Modifier and Type | Method and Description |
|---|---|
java.util.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
|
java.lang.Object |
nextAttribute()
Value of next attribute
|
IQName |
nextAttributeName() |
public XMLAttributesIterator(IXmlStreamReader parser)
throws XmlStreamException
XmlStreamExceptionpublic java.util.Map getAttributes()
public int getNumAttributes()
IAttributesIteratorgetNumAttributes in interface IAttributesIteratorpublic boolean hasNext()
throws java.io.IOException
IAttributesIteratorhasNext in interface IAttributesIteratorjava.io.IOExceptionpublic java.lang.Object nextAttribute()
throws java.io.IOException
IAttributesIteratornextAttribute in interface IAttributesIteratorjava.io.IOExceptionpublic IQName nextAttributeName()
nextAttributeName in interface IAttributesIteratorpublic void initialize()
IAttributesIteratorinitialize in interface IAttributesIterator