public class PEPProvider extends ExtensionElementProvider<ExtensionElement>
Constructor and Description |
---|
PEPProvider() |
Modifier and Type | Method and Description |
---|---|
ExtensionElement |
parse(org.xmlpull.v1.XmlPullParser parser,
int initialDepth)
Parses a PEPEvent stanza(/packet) and extracts a PEPItem from it.
|
static void |
registerPEPParserExtension(String node,
ExtensionElementProvider<?> pepItemParser) |
public PEPProvider()
public static void registerPEPParserExtension(String node, ExtensionElementProvider<?> pepItemParser)
public ExtensionElement parse(org.xmlpull.v1.XmlPullParser parser, int initialDepth) throws org.xmlpull.v1.XmlPullParserException, IOException, SmackException
parse
in class Provider<ExtensionElement>
parser
- the XML parser, positioned at the starting element of the extension.IOException
org.xmlpull.v1.XmlPullParserException
SmackException