Class MetaDataProvider
java.lang.Object
org.jivesoftware.smack.provider.AbstractProvider<E>
org.jivesoftware.smack.provider.Provider<E>
org.jivesoftware.smack.provider.ExtensionElementProvider<MetaData>
org.jivesoftware.smackx.workgroup.packet.MetaDataProvider
This provider parses meta data if it's not contained already in a larger extension provider.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jivesoftware.smack.provider.AbstractProvider
AbstractProvider.NumberFormatParseException, AbstractProvider.TextParseException, AbstractProvider.WrappableParser<E>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparse
(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) PacketExtensionProvider implementation.Methods inherited from class org.jivesoftware.smack.provider.AbstractProvider
getElementClass, toUrl, wrapExceptions
-
Constructor Details
-
MetaDataProvider
public MetaDataProvider()
-
-
Method Details
-
parse
public MetaData parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) throws XmlPullParserException, IOException PacketExtensionProvider implementation.- Specified by:
parse
in classProvider<MetaData>
- Throws:
IOException
- if an I/O error occurred.XmlPullParserException
- if an error in the XML parser occurred.
-