public class JingleContentInfo extends Object implements PacketExtension
Modifier and Type | Class and Description |
---|---|
static class |
JingleContentInfo.Audio
Transport part of a Jingle packet.
|
Modifier and Type | Field and Description |
---|---|
protected ContentInfo |
mediaInfoElement |
Constructor and Description |
---|
JingleContentInfo()
Empty constructor, with no jmf info.
|
JingleContentInfo(ContentInfo mediaInfoElement)
Constructor with a jmf info
|
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Get the element name
|
ContentInfo |
getMediaInfo()
Get the jmf info element.
|
String |
getNamespace()
Get the publilc namespace
|
protected void |
setNamespace(String ns)
Set the name space.
|
String |
toXML()
Returns the XML representation of the PacketExtension.
|
protected ContentInfo mediaInfoElement
public JingleContentInfo()
public JingleContentInfo(ContentInfo mediaInfoElement)
mediaInfoElement
- MediaInfo elementpublic ContentInfo getMediaInfo()
public String getElementName()
getElementName
in interface PacketExtension
protected void setNamespace(String ns)
ns
- the namespacepublic String getNamespace()
getNamespace
in interface PacketExtension
public String toXML()
PacketExtension
toXML
in interface PacketExtension