1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-25 20:18:00 +01:00

Implement LeaveElementProvider

This commit is contained in:
Paul Schaub 2020-02-29 01:48:15 +01:00
parent 4845572aee
commit d38f1c7726

View file

@ -0,0 +1,22 @@
package org.jivesoftware.smackx.mix.core.provider;
import java.io.IOException;
import org.jivesoftware.smack.packet.XmlEnvironment;
import org.jivesoftware.smack.parsing.SmackParsingException;
import org.jivesoftware.smack.provider.ExtensionElementProvider;
import org.jivesoftware.smack.xml.XmlPullParser;
import org.jivesoftware.smack.xml.XmlPullParserException;
import org.jivesoftware.smackx.mix.core.element.LeaveElement;
public abstract class LeaveElementProvider extends ExtensionElementProvider<LeaveElement> {
public static class V1 extends LeaveElementProvider {
@Override
public LeaveElement parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment)
throws XmlPullParserException, IOException, SmackParsingException {
return new LeaveElement.V1();
}
}
}