public class AMPExtensionProvider extends Object implements PacketExtensionProvider
Constructor and Description |
---|
AMPExtensionProvider()
Creates a new AMPExtensionProvider.
|
Modifier and Type | Method and Description |
---|---|
PacketExtension |
parseExtension(org.xmlpull.v1.XmlPullParser parser)
Parses a AMPExtension packet (extension sub-packet).
|
public AMPExtensionProvider()
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.