Class RosterExchangeProvider
- java.lang.Object
-
- org.jivesoftware.smack.provider.AbstractProvider<E>
-
- org.jivesoftware.smack.provider.Provider<EE>
-
- org.jivesoftware.smack.provider.ExtensionElementProvider<RosterExchange>
-
- org.jivesoftware.smackx.xroster.provider.RosterExchangeProvider
-
public class RosterExchangeProvider extends ExtensionElementProvider<RosterExchange>
The RosterExchangeProvider parses RosterExchange packets.
-
-
Constructor Summary
Constructors Constructor Description RosterExchangeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RosterExchange
parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment)
Parses a RosterExchange stanza (extension sub-packet).-
Methods inherited from class org.jivesoftware.smack.provider.AbstractProvider
getElementClass
-
-
-
-
Constructor Detail
-
RosterExchangeProvider
public RosterExchangeProvider()
-
-
Method Detail
-
parse
public RosterExchange parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) throws XmlPullParserException, IOException
Parses a RosterExchange stanza (extension sub-packet).- Specified by:
parse
in classProvider<RosterExchange>
- Parameters:
parser
- the XML parser, positioned at the starting element of the extension.- Returns:
- a PacketExtension.
- Throws:
IOException
- if an I/O error occurred.XmlPullParserException
- if an error in the XML parser occurred.
-
-