public class ComponentVersionsExtension extends AbstractPacketExtension
ComponentVersionsExtension.Component
children which carry each
component's name and version.Modifier and Type | Class and Description |
---|---|
class |
ComponentVersionsExtension.Component
Component child element of
ComponentVersionsExtension . |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMPONENT_ELEMENT_NAME
The name of XML sub-elements which carry the info about particular
component's version.
|
static java.lang.String |
COMPONENT_FOCUS
Constant for
ComponentVersionsExtension.Component name used to signal the version of
conference focus. |
static java.lang.String |
COMPONENT_VIDEOBRIDGE
Constant for
ComponentVersionsExtension.Component name used to signal the version of
the videobridge. |
static java.lang.String |
COMPONENT_XMPP_SERVER
Constant for
ComponentVersionsExtension.Component name used to signal the version of
XMPP server. |
static java.lang.String |
ELEMENT_NAME
The XML element name of
ComponentVersionsExtension . |
static java.lang.String |
NAMESPACE
The XML element namespace of
ComponentVersionsExtension . |
attributes
Constructor and Description |
---|
ComponentVersionsExtension()
Creates an
AbstractPacketExtension instance for the specified
namespace and elementName. |
Modifier and Type | Method and Description |
---|---|
void |
addComponentVersion(java.lang.String componentName,
java.lang.String versionStr)
Adds component's version to this extension.
|
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
ComponentVersionsExtension
.public static final java.lang.String COMPONENT_ELEMENT_NAME
public static final java.lang.String COMPONENT_FOCUS
ComponentVersionsExtension.Component
name used to signal the version of
conference focus.public static final java.lang.String COMPONENT_XMPP_SERVER
ComponentVersionsExtension.Component
name used to signal the version of
XMPP server.public static final java.lang.String COMPONENT_VIDEOBRIDGE
ComponentVersionsExtension.Component
name used to signal the version of
the videobridge.public static final java.lang.String NAMESPACE
ComponentVersionsExtension
.public ComponentVersionsExtension()
AbstractPacketExtension
instance for the specified
namespace and elementName.public void addComponentVersion(java.lang.String componentName, java.lang.String versionStr)
componentName
- the name of the component for which
child ComponentVersionsExtension.Component
extension will be added.versionStr
- human readable string that describes component's
version.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.