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.ExtensionElement
Jingle content info.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JingleContentInfo.Audio
Transport part of a Jingle packet.
-
Field Summary
Fields Modifier and Type Field Description protected ContentInfo
mediaInfoElement
-
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.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)
-
-
-
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 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:
getNamespace
in interfaceorg.jivesoftware.smack.packet.FullyQualifiedElement
-
toXML
public java.lang.String toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
- Specified by:
toXML
in interfaceorg.jivesoftware.smack.packet.Element
-
-