Class JingleContentInfo

java.lang.Object
org.jivesoftware.smackx.jingleold.packet.JingleContentInfo
All Implemented Interfaces:
org.jivesoftware.smack.packet.Element, org.jivesoftware.smack.packet.ExtensionElement, org.jivesoftware.smack.packet.NamedElement, org.jivesoftware.smack.packet.XmlElement, org.jivesoftware.smack.packet.XmlLangElement
Direct Known Subclasses:
JingleContentInfo.Audio

public class JingleContentInfo extends Object implements org.jivesoftware.smack.packet.ExtensionElement
Jingle content info.
  • Field Details

    • mediaInfoElement

      protected ContentInfo mediaInfoElement
  • Constructor Details

    • JingleContentInfo

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

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

    • getMediaInfo

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

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

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

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

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