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) |
public ItemProvider()
public Item parse(org.xmlpull.v1.XmlPullParser parser, int initialDepth) throws org.xmlpull.v1.XmlPullParserException, IOException, SmackException
parse
in class Provider<Item>
org.xmlpull.v1.XmlPullParserException
IOException
SmackException