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
XmlStreamException
public java.util.Map getAttributes()
public int getNumAttributes()
IAttributesIterator
getNumAttributes
in interface IAttributesIterator
public boolean hasNext() throws java.io.IOException
IAttributesIterator
hasNext
in interface IAttributesIterator
java.io.IOException
public java.lang.Object nextAttribute() throws java.io.IOException
IAttributesIterator
nextAttribute
in interface IAttributesIterator
java.io.IOException
public IQName nextAttributeName()
nextAttributeName
in interface IAttributesIterator
public void initialize()
IAttributesIterator
initialize
in interface IAttributesIterator