Class JingleContent
- java.lang.Object
-
- org.jivesoftware.smackx.jingle.element.JingleContent
-
- All Implemented Interfaces:
Element
,FullyQualifiedElement
,NamedElement
,XmlLangElement
public final class JingleContent extends java.lang.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 java.lang.String
CREATOR_ATTRIBUTE_NAME
static java.lang.String
DISPOSITION_ATTRIBUTE_NAME
static java.lang.String
ELEMENT
static java.lang.String
NAME_ATTRIBUTE_NAME
static java.lang.String
NAMESPACE
static java.lang.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.java.lang.String
getDisposition()
java.lang.String
getElementName()
Returns the root element name.JingleContentTransport
getJingleTransport()
Deprecated.usegetTransport()
instead.java.lang.String
getName()
java.lang.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 java.lang.String ELEMENT
- See Also:
- Constant Field Values
-
NAMESPACE
public static final java.lang.String NAMESPACE
- See Also:
- Constant Field Values
-
CREATOR_ATTRIBUTE_NAME
public static final java.lang.String CREATOR_ATTRIBUTE_NAME
- See Also:
- Constant Field Values
-
DISPOSITION_ATTRIBUTE_NAME
public static final java.lang.String DISPOSITION_ATTRIBUTE_NAME
- See Also:
- Constant Field Values
-
NAME_ATTRIBUTE_NAME
public static final java.lang.String NAME_ATTRIBUTE_NAME
- See Also:
- Constant Field Values
-
SENDERS_ATTRIBUTE_NAME
public static final java.lang.String SENDERS_ATTRIBUTE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCreator
public JingleContent.Creator getCreator()
-
getDisposition
public java.lang.String getDisposition()
-
getName
public java.lang.String getName()
-
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 java.lang.String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
getNamespace
public java.lang.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()
-
-