Class ForwardedProvider
public class ForwardedProvider
extends org.jivesoftware.smack.provider.ExtensionElementProvider<Forwarded<?>>
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
org.jivesoftware.smack.provider.AbstractProvider.NumberFormatParseException, org.jivesoftware.smack.provider.AbstractProvider.TextParseException, org.jivesoftware.smack.provider.AbstractProvider.WrappableParser<E> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionForwarded<?> parse(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment) static Forwarded<org.jivesoftware.smack.packet.Message> parseForwardedMessage(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment) static Forwarded<org.jivesoftware.smack.packet.Message> parseForwardedMessage(org.jivesoftware.smack.xml.XmlPullParser parser, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment) Methods inherited from class org.jivesoftware.smack.provider.Provider
parse, parseMethods 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(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment) throws org.jivesoftware.smack.xml.XmlPullParserException, IOException, org.jivesoftware.smack.parsing.SmackParsingException, ParseException - Specified by:
parsein classorg.jivesoftware.smack.provider.Provider<Forwarded<?>>- Throws:
org.jivesoftware.smack.xml.XmlPullParserExceptionIOExceptionorg.jivesoftware.smack.parsing.SmackParsingExceptionParseException
-
parseForwardedMessage
public static Forwarded<org.jivesoftware.smack.packet.Message> parseForwardedMessage(org.jivesoftware.smack.xml.XmlPullParser parser, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment) throws org.jivesoftware.smack.xml.XmlPullParserException, IOException, org.jivesoftware.smack.parsing.SmackParsingException, ParseException - Throws:
org.jivesoftware.smack.xml.XmlPullParserExceptionIOExceptionorg.jivesoftware.smack.parsing.SmackParsingExceptionParseException
-
parseForwardedMessage
public static Forwarded<org.jivesoftware.smack.packet.Message> parseForwardedMessage(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment) throws org.jivesoftware.smack.xml.XmlPullParserException, IOException, org.jivesoftware.smack.parsing.SmackParsingException, ParseException - Throws:
org.jivesoftware.smack.xml.XmlPullParserExceptionIOExceptionorg.jivesoftware.smack.parsing.SmackParsingExceptionParseException
-