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