Add XmlPullParser.getAttributeValue(String)

This commit is contained in:
Florian Schmaus 2019-06-10 17:37:52 +02:00
parent b834df65e9
commit 832b20a897
1 changed files with 4 additions and 0 deletions

View File

@ -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;