Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.jabber.extensions.gtalk
Class SrcIdPacketExtension

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

public class SrcIdPacketExtension
extends AbstractPacketExtension

SRC-ID packet extension.

Author:
Sebastien Vincent

Field Summary
static String ELEMENT_NAME
          The name of the element that contains the URIs data.
static String NAMESPACE
          The namespace that URIs belongs to.
 
Fields inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension
attributes
 
Constructor Summary
SrcIdPacketExtension(String namespace)
          Constructor.
 
Method Summary
 void setSrcId(String srcId)
          Set source ID.
 
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, toXML
 
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 URIs belongs to.

See Also:
Constant Field Values

ELEMENT_NAME

public static final String ELEMENT_NAME
The name of the element that contains the URIs data.

See Also:
Constant Field Values
Constructor Detail

SrcIdPacketExtension

public SrcIdPacketExtension(String namespace)
Constructor.

Parameters:
namespace - namespace
Method Detail

setSrcId

public void setSrcId(String srcId)
Set source ID.

Parameters:
srcId - source ID

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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