Class JingleContentDescription.JinglePayloadType
- java.lang.Object
-
- org.jivesoftware.smackx.jingleold.packet.JingleContentDescription.JinglePayloadType
-
- Direct Known Subclasses:
JingleContentDescription.JinglePayloadType.Audio
- Enclosing class:
- JingleContentDescription
public static class JingleContentDescription.JinglePayloadType extends Object
A payload type, contained in a descriptor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JingleContentDescription.JinglePayloadType.Audio
Audio payload type element.
-
Constructor Summary
Constructors Constructor Description JinglePayloadType()
Create an empty payload type.JinglePayloadType(PayloadType payload)
Create a payload type.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getChildAttributes()
static String
getElementName()
Returns the XML element name of the element.PayloadType
getPayloadType()
Get the payload represented.void
setPayload(PayloadType payload)
Set the payload represented.String
toXML()
-
-
-
Field Detail
-
NODENAME
public static final String NODENAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JinglePayloadType
public JinglePayloadType(PayloadType payload)
Create a payload type.- Parameters:
payload
- the payload
-
JinglePayloadType
public JinglePayloadType()
Create an empty payload type.
-
-
Method Detail
-
getElementName
public static String getElementName()
Returns the XML element name of the element.- Returns:
- the XML element name of the element.
-
getPayloadType
public PayloadType getPayloadType()
Get the payload represented.- Returns:
- the payload
-
setPayload
public void setPayload(PayloadType payload)
Set the payload represented.- Parameters:
payload
- the payload to set
-
getChildAttributes
protected String getChildAttributes()
-
-