public class PEPProvider extends Object implements PacketExtensionProvider
Constructor and Description |
---|
PEPProvider()
Creates a new PEPProvider.
|
Modifier and Type | Method and Description |
---|---|
PacketExtension |
parseExtension(org.xmlpull.v1.XmlPullParser parser)
Parses a PEPEvent packet and extracts a PEPItem from it.
|
void |
registerPEPParserExtension(String node,
PacketExtensionProvider pepItemParser) |
public PEPProvider()
public void registerPEPParserExtension(String node, PacketExtensionProvider pepItemParser)
public PacketExtension parseExtension(org.xmlpull.v1.XmlPullParser parser) throws Exception
parseExtension
in interface PacketExtensionProvider
parser
- the XML parser, positioned at the starting element of the extension.Exception
- if a parsing error occurs.