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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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
-
getElementName
Get the element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-
setNamespace
-
getNamespace
Get the public namespace.- Specified by:
getNamespacein interfaceXmlElement- Returns:
- the namespace.
-
toXML
-