Class AbstractDelayInformationProvider
- java.lang.Object
-
- org.jivesoftware.smack.provider.AbstractProvider<E>
-
- org.jivesoftware.smack.provider.Provider<E>
-
- org.jivesoftware.smack.provider.ExtensionElementProvider<DelayInformation>
-
- org.jivesoftware.smackx.delay.provider.AbstractDelayInformationProvider
-
- Direct Known Subclasses:
DelayInformationProvider
,LegacyDelayInformationProvider
public abstract class AbstractDelayInformationProvider extends ExtensionElementProvider<DelayInformation>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jivesoftware.smack.provider.AbstractProvider
AbstractProvider.NumberFormatParseException, AbstractProvider.TextParseException, AbstractProvider.WrappableParser<E>
-
-
Constructor Summary
Constructors Constructor Description AbstractDelayInformationProvider()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description DelayInformation
parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment)
protected abstract Date
parseDate(String string)
-
Methods inherited from class org.jivesoftware.smack.provider.AbstractProvider
getElementClass, wrapExceptions
-
-
-
-
Constructor Detail
-
AbstractDelayInformationProvider
public AbstractDelayInformationProvider()
-
-
Method Detail
-
parse
public final DelayInformation parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) throws XmlPullParserException, IOException, ParseException
- Specified by:
parse
in classProvider<DelayInformation>
- Throws:
XmlPullParserException
IOException
ParseException
-
parseDate
protected abstract Date parseDate(String string) throws ParseException
- Throws:
ParseException
-
-