public class ItemProvider extends 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.xmlpull.v1.XmlPullParser parser,
int initialDepth) |