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

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 extends Object>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ForwardedProvider
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    parse(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment, org.jxmpp.JxmppContext jxmppContext)
     
    static Forwarded<org.jivesoftware.smack.packet.Message>
    parseForwardedMessage(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment, org.jxmpp.JxmppContext jxmppContext)
     
    static Forwarded<org.jivesoftware.smack.packet.Message>
    parseForwardedMessage(org.jivesoftware.smack.xml.XmlPullParser parser, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment, org.jxmpp.JxmppContext jxmppContext)
     

    Methods inherited from class org.jivesoftware.smack.provider.Provider

    parse, parse

    Methods inherited from class org.jivesoftware.smack.provider.AbstractProvider

    getElementClass, toUrl, wrapExceptions

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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, org.jxmpp.JxmppContext jxmppContext) throws org.jivesoftware.smack.xml.XmlPullParserException, IOException, org.jivesoftware.smack.parsing.SmackParsingException, ParseException
      Specified by:
      parse in class org.jivesoftware.smack.provider.Provider<Forwarded<?>>
      Throws:
      org.jivesoftware.smack.xml.XmlPullParserException
      IOException
      org.jivesoftware.smack.parsing.SmackParsingException
      ParseException
    • parseForwardedMessage

      public static Forwarded<org.jivesoftware.smack.packet.Message> parseForwardedMessage(org.jivesoftware.smack.xml.XmlPullParser parser, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment, org.jxmpp.JxmppContext jxmppContext) throws org.jivesoftware.smack.xml.XmlPullParserException, IOException, org.jivesoftware.smack.parsing.SmackParsingException, ParseException
      Throws:
      org.jivesoftware.smack.xml.XmlPullParserException
      IOException
      org.jivesoftware.smack.parsing.SmackParsingException
      ParseException
    • parseForwardedMessage

      public static Forwarded<org.jivesoftware.smack.packet.Message> parseForwardedMessage(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment, org.jxmpp.JxmppContext jxmppContext) throws org.jivesoftware.smack.xml.XmlPullParserException, IOException, org.jivesoftware.smack.parsing.SmackParsingException, ParseException
      Throws:
      org.jivesoftware.smack.xml.XmlPullParserException
      IOException
      org.jivesoftware.smack.parsing.SmackParsingException
      ParseException