public class HeaderExtension extends AbstractPacketExtension
RayoIqProvider.RayoIq
.
Holds 'name' and 'value' attributes.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_NAME
XML element name.
|
static java.lang.String |
NAME_ATTR_NAME
The name of 'name' attribute.
|
static java.lang.String |
VALUE_ATTR_NAME
The name of 'value' attribute.
|
attributes
Constructor and Description |
---|
HeaderExtension()
Creates new instance of HeaderPacketExtension.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Return the value of 'name' attribute.
|
java.lang.String |
getValue()
Returns the value of 'value' attribute.
|
void |
setName(java.lang.String name)
Sets new value for 'name' attribute of this extension.
|
void |
setValue(java.lang.String value)
Sets new value for the 'value' attribute.
|
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 HeaderExtension()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the new value to set for 'name' attribute.public java.lang.String getValue()
public void setValue(java.lang.String value)
value
- new value for the 'value' attribute to set.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.