Class JingleContent
- java.lang.Object
-
- org.jivesoftware.smackx.jingle.element.JingleContent
-
- All Implemented Interfaces:
Element
,FullyQualifiedElement
,NamedElement
,XmlLangElement
public final class JingleContent extends Object implements FullyQualifiedElement
Jingle content element.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JingleContent.Builder
static class
JingleContent.Creator
static class
JingleContent.Senders
-
Field Summary
Fields Modifier and Type Field Description static String
CREATOR_ATTRIBUTE_NAME
static String
DISPOSITION_ATTRIBUTE_NAME
static String
ELEMENT
static String
NAME_ATTRIBUTE_NAME
static String
NAMESPACE
static String
SENDERS_ATTRIBUTE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static JingleContent.Builder
getBuilder()
JingleContent.Creator
getCreator()
JingleContentDescription
getDescription()
Gets the description for this Jingle content.String
getDisposition()
String
getElementName()
Returns the root element name.JingleContentTransport
getJingleTransport()
Deprecated.usegetTransport()
instead.String
getName()
String
getNamespace()
Returns the root element XML namespace.JingleContent.Senders
getSenders()
JingleContentTransport
getTransport()
Returns an Iterator for the JingleTransports in the packet.XmlStringBuilder
toXML(XmlEnvironment enclosingXmlEnvironment)
-
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
-
ELEMENT
public static final String ELEMENT
- See Also:
- Constant Field Values
-
NAMESPACE
public static final String NAMESPACE
- See Also:
- Constant Field Values
-
CREATOR_ATTRIBUTE_NAME
public static final String CREATOR_ATTRIBUTE_NAME
- See Also:
- Constant Field Values
-
DISPOSITION_ATTRIBUTE_NAME
public static final String DISPOSITION_ATTRIBUTE_NAME
- See Also:
- Constant Field Values
-
NAME_ATTRIBUTE_NAME
public static final String NAME_ATTRIBUTE_NAME
- See Also:
- Constant Field Values
-
SENDERS_ATTRIBUTE_NAME
public static final String SENDERS_ATTRIBUTE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCreator
public JingleContent.Creator getCreator()
-
getDisposition
public String getDisposition()
-
getSenders
public JingleContent.Senders getSenders()
-
getDescription
public JingleContentDescription getDescription()
Gets the description for this Jingle content.- Returns:
- The description.
-
getJingleTransport
@Deprecated public JingleContentTransport getJingleTransport()
Deprecated.usegetTransport()
instead.Returns an Iterator for the JingleTransports in the packet.- Returns:
- an Iterator for the JingleTransports in the packet.
-
getTransport
public JingleContentTransport getTransport()
Returns an Iterator for the JingleTransports in the packet.- Returns:
- an Iterator for the JingleTransports in the packet.
-
getElementName
public String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
getNamespace
public String getNamespace()
Description copied from interface:FullyQualifiedElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceFullyQualifiedElement
- Returns:
- the namespace.
-
toXML
public XmlStringBuilder toXML(XmlEnvironment enclosingXmlEnvironment)
-
getBuilder
public static JingleContent.Builder getBuilder()
-
-