Class JingleContentInfo
- java.lang.Object
-
- org.jivesoftware.smackx.jingleold.packet.JingleContentInfo
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
- Direct Known Subclasses:
JingleContentInfo.Audio
public class JingleContentInfo extends java.lang.Object implements 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(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.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
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 interfaceNamedElement
- Returns:
- the element name.
-
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 interfaceFullyQualifiedElement
- Returns:
- the namespace.
-
toXML
public java.lang.String toXML(XmlEnvironment enclosingNamespace)
-
-