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
Modifier and TypeClassDescriptionstatic class
Transport part of a Jingle packet. -
Field Summary
-
Constructor Summary
ConstructorDescriptionEmpty 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 void
setNamespace
(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, wait
Methods 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:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
setNamespace
Set the name space.- Parameters:
ns
- the namespace
-
getNamespace
Get the public namespace.- Specified by:
getNamespace
in interfaceXmlElement
- Returns:
- the namespace.
-
toXML
-