Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.jabber.extensions.coin
Class ConferenceMediumPacketExtension

java.lang.Object
  extended by net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension
      extended by net.java.sip.communicator.impl.protocol.jabber.extensions.coin.ConferenceMediumPacketExtension
All Implemented Interfaces:
org.jivesoftware.smack.packet.PacketExtension

public class ConferenceMediumPacketExtension
extends AbstractPacketExtension

Conference medium packet extension.

Author:
Sebastien Vincent

Field Summary
static String ELEMENT_DISPLAY_TEXT
          Display text element name.
static String ELEMENT_NAME
          The name of the element that contains the conference medium.
static String ELEMENT_STATUS
          Status element name.
static String ELEMENT_TYPE
          Type element name.
static String LABEL_ATTR_NAME
          Label attribute name.
static String NAMESPACE
          The namespace that conference medium belongs to.
 
Fields inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension
attributes
 
Constructor Summary
ConferenceMediumPacketExtension(String elementName, String label)
          Constructor.
 
Method Summary
 String getDisplayText()
          Get display text.
 String getStatus()
          Get status.
 String getType()
          Get type.
 void setDisplayText(String displayText)
          Set display text.
 void setStatus(String status)
          Set status.
 void setType(String type)
          Set type.
 String toXML()
          Get an XML string representation.
 
Methods inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension
addChildExtension, getAttribute, getAttributeAsInt, getAttributeAsInt, getAttributeAsString, getAttributeAsURI, getAttributeNames, getChildExtensions, getChildExtensionsOfType, getElementName, getFirstChildOfType, getNamespace, getText, removeAttribute, setAttribute, setNamespace, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAMESPACE

public static final String NAMESPACE
The namespace that conference medium belongs to.

See Also:
Constant Field Values

ELEMENT_NAME

public static final String ELEMENT_NAME
The name of the element that contains the conference medium.

See Also:
Constant Field Values

ELEMENT_DISPLAY_TEXT

public static final String ELEMENT_DISPLAY_TEXT
Display text element name.

See Also:
Constant Field Values

ELEMENT_TYPE

public static final String ELEMENT_TYPE
Type element name.

See Also:
Constant Field Values

ELEMENT_STATUS

public static final String ELEMENT_STATUS
Status element name.

See Also:
Constant Field Values

LABEL_ATTR_NAME

public static final String LABEL_ATTR_NAME
Label attribute name.

See Also:
Constant Field Values
Constructor Detail

ConferenceMediumPacketExtension

public ConferenceMediumPacketExtension(String elementName,
                                       String label)
Constructor.

Parameters:
elementName - element name
label - label
Method Detail

setStatus

public void setStatus(String status)
Set status.

Parameters:
status - status.

setType

public void setType(String type)
Set type.

Parameters:
type - type

setDisplayText

public void setDisplayText(String displayText)
Set display text.

Parameters:
displayText - display text

getDisplayText

public String getDisplayText()
Get display text.

Returns:
display text

getType

public String getType()
Get type.

Returns:
type

getStatus

public String getStatus()
Get status.

Returns:
status.

toXML

public String toXML()
Get an XML string representation.

Specified by:
toXML in interface org.jivesoftware.smack.packet.PacketExtension
Overrides:
toXML in class AbstractPacketExtension
Returns:
XML string representation

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.