Class JingleDescriptionProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract JingleDescription getInstance()
      Return a new instance of this class.
      JingleDescription parse​(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment)
      Parse a iq/jingle/description element.
      protected PayloadType parsePayload​(org.jivesoftware.smack.xml.XmlPullParser parser)
      Parse a iq/jingle/description/payload-type element.
      • Methods inherited from class org.jivesoftware.smack.provider.Provider

        parse, parse
      • Methods inherited from class org.jivesoftware.smack.provider.AbstractProvider

        getElementClass
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JingleDescriptionProvider

        public JingleDescriptionProvider()
    • Method Detail

      • parsePayload

        protected PayloadType parsePayload​(org.jivesoftware.smack.xml.XmlPullParser parser)
        Parse a iq/jingle/description/payload-type element.
        Parameters:
        parser - TODO javadoc me please the input to parse
        Returns:
        a payload type element
      • parse

        public JingleDescription parse​(org.jivesoftware.smack.xml.XmlPullParser parser,
                                       int initialDepth,
                                       org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment)
                                throws org.jivesoftware.smack.xml.XmlPullParserException,
                                       java.io.IOException
        Parse a iq/jingle/description element.
        Specified by:
        parse in class org.jivesoftware.smack.provider.Provider<JingleDescription>
        Parameters:
        parser - TODO javadoc me please the input to parse
        Returns:
        a description element
        Throws:
        java.io.IOException - if an I/O error occurred.
        org.jivesoftware.smack.xml.XmlPullParserException - if an error in the XML parser occurred.
      • getInstance

        protected abstract JingleDescription getInstance()
        Return a new instance of this class. Subclasses must overwrite this method.
        Returns:
        the jingle description.