org.jivesoftware.smackx.packet
Class JingleContentInfo

java.lang.Object
  extended by org.jivesoftware.smackx.packet.JingleContentInfo
Direct Known Subclasses:
JingleContentInfo.Audio

public class JingleContentInfo
extends java.lang.Object

Jingle content info

Author:
Alvaro Saurin

Nested Class Summary
static class JingleContentInfo.Audio
          Transport part of a Jingle packet.
 
Constructor Summary
JingleContentInfo()
          Empty constructor, with no jmf info.
JingleContentInfo(ContentInfo mediaInfoElement)
          Constructor with a jmf info
 
Method Summary
 java.lang.String getElementName()
          Get the element name
 ContentInfo getMediaInfo()
          Get the jmf info element.
 java.lang.String getNamespace()
          Get the publilc namespace
 java.lang.String toXML()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


getNamespace

public java.lang.String getNamespace()
Get the publilc namespace


toXML

public java.lang.String toXML()