public class ItemProvider extends org.jivesoftware.smack.provider.ExtensionElementProvider<Item>
PubSubNamespace.basic and
PubSubNamespace.event namespaces. To parse the item contents, it will use whatever
ExtensionElementProvider is registered in smack.providers for its element name and namespace. If no
provider is registered, it will return a SimplePayload.| Constructor and Description |
|---|
ItemProvider() |
| Modifier and Type | Method and Description |
|---|---|
Item |
parse(org.jivesoftware.smack.xml.XmlPullParser parser,
int initialDepth,
org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment) |
public Item parse(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment) throws org.jivesoftware.smack.xml.XmlPullParserException, java.io.IOException, org.jivesoftware.smack.parsing.SmackParsingException
parse in class org.jivesoftware.smack.provider.Provider<Item>org.jivesoftware.smack.xml.XmlPullParserExceptionjava.io.IOExceptionorg.jivesoftware.smack.parsing.SmackParsingException