mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-26 08:12:05 +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);
|
String getAttributeValue(String namespace, String name);
|
||||||
|
|
||||||
|
default String getAttributeValue(String name) {
|
||||||
|
return getAttributeValue(null, name);
|
||||||
|
}
|
||||||
|
|
||||||
Event getEventType() throws XmlPullParserException;
|
Event getEventType() throws XmlPullParserException;
|
||||||
|
|
||||||
Event next() throws IOException, XmlPullParserException;
|
Event next() throws IOException, XmlPullParserException;
|
||||||
|
|
Loading…
Reference in a new issue