Class SimpleMoodConcretisationProvider<C extends MoodConcretisation>
java.lang.Object
org.jivesoftware.smack.provider.AbstractProvider<E>
org.jivesoftware.smack.provider.Provider<E>
org.jivesoftware.smack.provider.ExtensionElementProvider<C>
org.jivesoftware.smackx.mood.provider.MoodConcretisationProvider<C>
org.jivesoftware.smackx.mood.provider.SimpleMoodConcretisationProvider<C>
- Type Parameters:
C- type of theMoodConcretisation
public abstract class SimpleMoodConcretisationProvider<C extends MoodConcretisation>
extends MoodConcretisationProvider<C>
Simple
MoodConcretisationProvider implementation, suitable for really simple MoodConcretisations,
that only consist of name and namespace. In such a case it is sufficient to just return an instance of the element
addressed by the element name and namespace, since no other values must be parsed.-
Nested Class Summary
Nested classes/interfaces inherited from class org.jivesoftware.smack.provider.AbstractProvider
org.jivesoftware.smack.provider.AbstractProvider.NumberFormatParseException, org.jivesoftware.smack.provider.AbstractProvider.TextParseException, org.jivesoftware.smack.provider.AbstractProvider.WrappableParser<E extends Object> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jivesoftware.smack.provider.Provider
parse, parseMethods inherited from class org.jivesoftware.smack.provider.AbstractProvider
getElementClass, toUrl, wrapExceptions
-
Constructor Details
-
SimpleMoodConcretisationProvider
public SimpleMoodConcretisationProvider()
-
-
Method Details
-
parse
public C parse(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment, org.jxmpp.JxmppContext jxmppContext) throws IOException, org.jivesoftware.smack.xml.XmlPullParserException - Specified by:
parsein classMoodConcretisationProvider<C extends MoodConcretisation>- Throws:
IOExceptionorg.jivesoftware.smack.xml.XmlPullParserException
-
simpleExtension
-