mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-22 20:47:57 +01:00
Add XmlPullParser.getAttributeValue(String)
This commit is contained in:
parent
b834df65e9
commit
832b20a897
1 changed files with 4 additions and 0 deletions
|
@ -123,6 +123,10 @@ public interface XmlPullParser {
|
|||
|
||||
String getAttributeValue(String namespace, String name);
|
||||
|
||||
default String getAttributeValue(String name) {
|
||||
return getAttributeValue(null, name);
|
||||
}
|
||||
|
||||
Event getEventType() throws XmlPullParserException;
|
||||
|
||||
Event next() throws IOException, XmlPullParserException;
|
||||
|
|
Loading…
Reference in a new issue