Class JingleContentDescription.JinglePayloadType
java.lang.Object
org.jivesoftware.smackx.jingleold.packet.JingleContentDescription.JinglePayloadType
- Direct Known Subclasses:
JingleContentDescription.JinglePayloadType.Audio
- Enclosing class:
- JingleContentDescription
A payload type, contained in a descriptor.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Audio payload type element. -
Field Summary
-
Constructor Summary
ConstructorDescriptionCreate an empty payload type.JinglePayloadType
(PayloadType payload) Create a payload type. -
Method Summary
Modifier and TypeMethodDescriptionprotected String
static String
Returns the XML element name of the element.Get the payload represented.void
setPayload
(PayloadType payload) Set the payload represented.toXML()
-
Field Details
-
NODENAME
- See Also:
-
-
Constructor Details
-
JinglePayloadType
Create a payload type.- Parameters:
payload
- the payload
-
JinglePayloadType
public JinglePayloadType()Create an empty payload type.
-
-
Method Details
-
getElementName
Returns the XML element name of the element.- Returns:
- the XML element name of the element.
-
getPayloadType
Get the payload represented.- Returns:
- the payload
-
setPayload
Set the payload represented.- Parameters:
payload
- the payload to set
-
getChildAttributes
-
toXML
-