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.
  • Field Details

  • Constructor Details

    • JinglePayloadType

      public JinglePayloadType(PayloadType payload)
      Create a payload type.
      Parameters:
      payload - the payload
    • JinglePayloadType

      public JinglePayloadType()
      Create an empty payload type.
  • Method Details

    • 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()
    • toXML

      public String toXML()