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