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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classTransport part of a Jingle packet. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructor, with no jmf info.JingleContentInfo(ContentInfo mediaInfoElement) Constructor with a jmf info. -
Method Summary
Modifier and TypeMethodDescriptionGet the element name.Get the jmf info element.Get the public namespace.protected voidsetNamespace(String ns) Set the name space.toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.packet.Element
toXML, toXMLMethods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
mediaInfoElement
-
-
Constructor Details
-
JingleContentInfo
public JingleContentInfo()Empty constructor, with no jmf info. -
JingleContentInfo
Constructor with a jmf info.- Parameters:
mediaInfoElement- MediaInfo element
-
-
Method Details
-
getMediaInfo
Get the jmf info element.- Returns:
- the mediaInfoElement
-
getElementName
Get the element name.- Specified by:
getElementNamein interfaceorg.jivesoftware.smack.packet.NamedElement
-
setNamespace
Set the name space.- Parameters:
ns- the namespace
-
getNamespace
Get the public namespace.- Specified by:
getNamespacein interfaceorg.jivesoftware.smack.packet.XmlElement
-
toXML
- Specified by:
toXMLin interfaceorg.jivesoftware.smack.packet.Element
-