Class ForwardedProvider
java.lang.Object
org.jivesoftware.smack.provider.AbstractProvider<E>
org.jivesoftware.smack.provider.Provider<E>
org.jivesoftware.smack.provider.ExtensionElementProvider<Forwarded<?>>
org.jivesoftware.smackx.forward.provider.ForwardedProvider
This class implements the
ExtensionElementProvider
to parse
forwarded messages from a packet. It will return a Forwarded
stanza extension.-
Nested Class Summary
Nested classes/interfaces inherited from class org.jivesoftware.smack.provider.AbstractProvider
AbstractProvider.NumberFormatParseException, AbstractProvider.TextParseException, AbstractProvider.WrappableParser<E>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionForwarded<?>
parse
(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) parseForwardedMessage
(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) parseForwardedMessage
(XmlPullParser parser, XmlEnvironment xmlEnvironment) Methods inherited from class org.jivesoftware.smack.provider.AbstractProvider
getElementClass, toUrl, wrapExceptions
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ForwardedProvider
public ForwardedProvider()
-
-
Method Details
-
parse
public Forwarded<?> parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) throws XmlPullParserException, IOException, SmackParsingException, ParseException - Specified by:
parse
in classProvider<Forwarded<?>>
- Throws:
XmlPullParserException
IOException
SmackParsingException
ParseException
-
parseForwardedMessage
public static Forwarded<Message> parseForwardedMessage(XmlPullParser parser, XmlEnvironment xmlEnvironment) throws XmlPullParserException, IOException, SmackParsingException, ParseException -
parseForwardedMessage
public static Forwarded<Message> parseForwardedMessage(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) throws XmlPullParserException, IOException, SmackParsingException, ParseException
-