Class JingleContentInfo

  • All Implemented Interfaces:
    org.jivesoftware.smack.packet.Element, org.jivesoftware.smack.packet.ExtensionElement, org.jivesoftware.smack.packet.FullyQualifiedElement, org.jivesoftware.smack.packet.NamedElement, org.jivesoftware.smack.packet.XmlLangElement
    Direct Known Subclasses:
    JingleContentInfo.Audio

    public class JingleContentInfo
    extends java.lang.Object
    implements org.jivesoftware.smack.packet.ExtensionElement
    Jingle content info.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  JingleContentInfo.Audio
      Transport part of a Jingle packet.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getElementName()
      Get the element name.
      ContentInfo getMediaInfo()
      Get the jmf info element.
      java.lang.String getNamespace()
      Get the public namespace.
      protected void setNamespace​(java.lang.String ns)
      Set the name space.
      java.lang.String toXML​(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.jivesoftware.smack.packet.Element

        toXML, toXML
      • Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement

        getLanguage, getQName
    • Field Detail

      • mediaInfoElement

        protected ContentInfo mediaInfoElement
    • Constructor Detail

      • JingleContentInfo

        public JingleContentInfo()
        Empty constructor, with no jmf info.
      • JingleContentInfo

        public JingleContentInfo​(ContentInfo mediaInfoElement)
        Constructor with a jmf info.
        Parameters:
        mediaInfoElement - MediaInfo element
    • Method Detail

      • getMediaInfo

        public ContentInfo getMediaInfo()
        Get the jmf info element.
        Returns:
        the mediaInfoElement
      • getElementName

        public java.lang.String getElementName()
        Get the element name.
        Specified by:
        getElementName in interface org.jivesoftware.smack.packet.NamedElement
      • setNamespace

        protected void setNamespace​(java.lang.String ns)
        Set the name space.
        Parameters:
        ns - the namespace
      • getNamespace

        public java.lang.String getNamespace()
        Get the public namespace.
        Specified by:
        getNamespace in interface org.jivesoftware.smack.packet.FullyQualifiedElement
      • toXML

        public java.lang.String toXML​(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
        Specified by:
        toXML in interface org.jivesoftware.smack.packet.Element