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.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.ExtensionElementJingle content info.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJingleContentInfo.AudioTransport part of a Jingle packet.
-
Field Summary
Fields Modifier and Type Field Description protected ContentInfomediaInfoElement
-
Constructor Summary
Constructors Constructor Description JingleContentInfo()Empty constructor, with no jmf info.JingleContentInfo(ContentInfo mediaInfoElement)Constructor with a jmf info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetElementName()Get the element name.ContentInfogetMediaInfo()Get the jmf info element.java.lang.StringgetNamespace()Get the public namespace.protected voidsetNamespace(java.lang.String ns)Set the name space.java.lang.StringtoXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
-
-
-
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:
getElementNamein interfaceorg.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:
getNamespacein interfaceorg.jivesoftware.smack.packet.FullyQualifiedElement
-
toXML
public java.lang.String toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
- Specified by:
toXMLin interfaceorg.jivesoftware.smack.packet.Element
-
-