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 classJingleContent.Builderstatic classJingleContent.Creatorstatic classJingleContent.Senders
-
Field Summary
Fields Modifier and Type Field Description static StringCREATOR_ATTRIBUTE_NAMEstatic StringDISPOSITION_ATTRIBUTE_NAMEstatic StringELEMENTstatic StringNAME_ATTRIBUTE_NAMEstatic StringNAMESPACEstatic StringSENDERS_ATTRIBUTE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static JingleContent.BuildergetBuilder()JingleContent.CreatorgetCreator()JingleContentDescriptiongetDescription()Gets the description for this Jingle content.StringgetDisposition()StringgetElementName()Returns the root element name.JingleContentTransportgetJingleTransport()Deprecated.usegetTransport()instead.StringgetName()StringgetNamespace()Returns the root element XML namespace.JingleContent.SendersgetSenders()JingleContentTransportgetTransport()Returns an Iterator for the JingleTransports in the packet.XmlStringBuildertoXML(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:NamedElementReturns the root element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-
getNamespace
public String getNamespace()
Description copied from interface:FullyQualifiedElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceFullyQualifiedElement- Returns:
- the namespace.
-
toXML
public XmlStringBuilder toXML(XmlEnvironment enclosingXmlEnvironment)
-
getBuilder
public static JingleContent.Builder getBuilder()
-
-