mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-14 06:51:08 +01:00
Use XmlEnvironment in parsing/provider subsystem
This commit is contained in:
parent
43bb418d99
commit
8df69bd3ce
188 changed files with 486 additions and 264 deletions
|
|
@ -20,6 +20,7 @@ package org.jivesoftware.smackx.iqversion.provider;
|
|||
import java.io.IOException;
|
||||
|
||||
import org.jivesoftware.smack.packet.IQ;
|
||||
import org.jivesoftware.smack.packet.XmlEnvironment;
|
||||
import org.jivesoftware.smack.provider.IQProvider;
|
||||
|
||||
import org.jivesoftware.smackx.iqversion.packet.Version;
|
||||
|
|
@ -30,7 +31,7 @@ import org.xmlpull.v1.XmlPullParserException;
|
|||
public class VersionProvider extends IQProvider<Version> {
|
||||
|
||||
@Override
|
||||
public Version parse(XmlPullParser parser, int initialDepth) throws XmlPullParserException, IOException {
|
||||
public Version parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) throws XmlPullParserException, IOException {
|
||||
String name = null, version = null, os = null;
|
||||
|
||||
outerloop: while (true) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue