public class ParameterPacketExtension extends AbstractPacketExtension
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_NAME
The name of the "parameter" element.
|
static java.lang.String |
NAME_ATTR_NAME
The name of the name parameter in the parameter
element.
|
static java.lang.String |
VALUE_ATTR_NAME
The name of the value parameter in the parameter
element.
|
attributes
Constructor and Description |
---|
ParameterPacketExtension()
Creates a new
ParameterPacketExtension instance. |
ParameterPacketExtension(java.lang.String name,
java.lang.String value)
Creates a new
ParameterPacketExtension instance and sets the
given name and value. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the name of the format parameter we are representing here.
|
java.lang.String |
getValue()
Returns the value of the format parameter we are representing here.
|
void |
setName(java.lang.String name)
Sets the name of the format parameter we are representing here.
|
void |
setValue(java.lang.String value)
Sets that value of the format parameter we are representing here.
|
addChildExtension, addPacket, clone, getAttribute, getAttributeAsInt, getAttributeAsInt, getAttributeAsString, getAttributeAsURI, getAttributeNames, getChildExtensions, getChildExtensionsOfType, getElementName, getFirstChildOfType, getNamespace, getPackets, getText, removeAttribute, setAttribute, setNamespace, setText, toXML
public static final java.lang.String ELEMENT_NAME
public static final java.lang.String NAME_ATTR_NAME
public static final java.lang.String VALUE_ATTR_NAME
public ParameterPacketExtension()
ParameterPacketExtension
instance.public ParameterPacketExtension(java.lang.String name, java.lang.String value)
ParameterPacketExtension
instance and sets the
given name and value.public void setName(java.lang.String name)
name
- the name of the format parameter we are representing here.public java.lang.String getName()
public void setValue(java.lang.String value)
value
- the value of the format parameter we are representing here.public java.lang.String getValue()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.