Class SimpleMoodConcretisationProvider<C extends MoodConcretisation>
- java.lang.Object
-
- org.jivesoftware.smack.provider.AbstractProvider<E>
-
- org.jivesoftware.smack.provider.Provider<EE>
-
- 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>
SimpleMoodConcretisationProvider
implementation, suitable for really simpleMoodConcretisation
s, 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.
-
-
Constructor Summary
Constructors Constructor Description SimpleMoodConcretisationProvider()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description C
parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment)
protected abstract C
simpleExtension()
-
Methods inherited from class org.jivesoftware.smack.provider.AbstractProvider
getElementClass
-
-
-
-
Constructor Detail
-
SimpleMoodConcretisationProvider
public SimpleMoodConcretisationProvider()
-
-
Method Detail
-
parse
public C parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) throws IOException, XmlPullParserException
- Specified by:
parse
in classMoodConcretisationProvider<C extends MoodConcretisation>
- Throws:
IOException
XmlPullParserException
-
simpleExtension
protected abstract C simpleExtension()
-
-