|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An iterator over the attributes of an XML element.
Method Summary | |
boolean |
advance()
Moves to the next attribute and returns true, or returns false if there are no more attributes. |
java.lang.String |
name()
Returns the local name of the attribute. |
java.lang.String |
namespace()
Returns the namespace URI of the attribute, or an empty string if the attribute has no namespace. |
java.lang.String |
value()
Returns the value of the attribute, which may be an empty string. |
Method Detail |
public boolean advance()
public java.lang.String name() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- if advance() has not yet been called.public java.lang.String namespace() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- if advance() has not yet been called.public java.lang.String value() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- if advance() has not yet been called.
|
Copyright (c) 2003 Mark T. Hayes; All Rights Reserved | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |