Class JingleContentInfo
java.lang.Object
org.jivesoftware.smackx.jingleold.packet.JingleContentInfo
- All Implemented Interfaces:
Element,ExtensionElement,NamedElement,XmlElement,XmlLangElement
- Direct Known Subclasses:
JingleContentInfo.Audio
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(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.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 interfaceNamedElement- Returns:
- the element name.
-
setNamespace
Set the name space.- Parameters:
ns- the namespace
-
getNamespace
Get the public namespace.- Specified by:
getNamespacein interfaceXmlElement- Returns:
- the namespace.
-
toXML
-