|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jivesoftware.smackx.packet.JingleDescription
public abstract class JingleDescription
Jingle content description.
| Nested Class Summary | |
|---|---|
static class |
JingleDescription.Audio
Jingle audio description |
| Field Summary | |
|---|---|
static java.lang.String |
NODENAME
|
| Constructor Summary | |
|---|---|
JingleDescription()
Creates a content description.. |
|
| Method Summary | |
|---|---|
void |
addAudioPayloadTypes(java.util.List<PayloadType> pts)
Adds a list of payloads to the packet. |
void |
addPayloadType(PayloadType pt)
Adds a audio payload type to the packet. |
java.util.List<PayloadType> |
getAudioPayloadTypesList()
Return the list of Payload types contained in the description. |
java.lang.String |
getElementName()
Returns the XML element name of the element. |
abstract java.lang.String |
getNamespace()
Return the namespace. |
java.util.Iterator<PayloadType> |
getPayloadTypes()
Returns an Iterator for the audio payloads in the packet. |
int |
getPayloadTypesCount()
Returns a count of the audio payloads in the Jingle packet. |
java.util.List<PayloadType> |
getPayloadTypesList()
Returns a list for the audio payloads in the packet. |
java.lang.String |
toXML()
Convert a Jingle description to XML. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NODENAME
| Constructor Detail |
|---|
public JingleDescription()
| Method Detail |
|---|
public java.lang.String getElementName()
public abstract java.lang.String getNamespace()
public void addPayloadType(PayloadType pt)
pt - the audio payload type to add.public void addAudioPayloadTypes(java.util.List<PayloadType> pts)
pts - the payloads to add.public java.util.Iterator<PayloadType> getPayloadTypes()
public java.util.List<PayloadType> getPayloadTypesList()
public java.util.List<PayloadType> getAudioPayloadTypesList()
public int getPayloadTypesCount()
public java.lang.String toXML()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||