public class ForwardedProvider extends Object implements PacketExtensionProvider
PacketExtensionProvider
to parse
forwarded messages from a packet. It will return a Forwarded
packet extension.Constructor and Description |
---|
ForwardedProvider() |
Modifier and Type | Method and Description |
---|---|
PacketExtension |
parseExtension(org.xmlpull.v1.XmlPullParser parser)
Parse an extension sub-packet and create a PacketExtension instance.
|
public ForwardedProvider()
public PacketExtension parseExtension(org.xmlpull.v1.XmlPullParser parser) throws Exception
PacketExtensionProvider
parseExtension
in interface PacketExtensionProvider
parser
- an XML parser.Exception
- if an error occurs parsing the XML.