Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

java.lang.Object
  extended by net.java.sip.communicator.impl.protocol.jabber.extensions.coin.ConferenceMediumProvider
All Implemented Interfaces:
org.jivesoftware.smack.provider.PacketExtensionProvider

public class ConferenceMediumProvider
extends Object
implements org.jivesoftware.smack.provider.PacketExtensionProvider

Parser for ConferenceMediumProvider.

Author:
Sebastien Vincent

Constructor Summary
ConferenceMediumProvider()
           
 
Method Summary
 org.jivesoftware.smack.packet.PacketExtension parseExtension(org.xmlpull.v1.XmlPullParser parser)
          Parses a ConferenceMedium extension sub-packet and creates a ConferenceMediumPacketExtension instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConferenceMediumProvider

public ConferenceMediumProvider()
Method Detail

parseExtension

public org.jivesoftware.smack.packet.PacketExtension parseExtension(org.xmlpull.v1.XmlPullParser parser)
                                                             throws Exception
Parses a ConferenceMedium extension sub-packet and creates a ConferenceMediumPacketExtension instance. At the beginning of the method call, the xml parser will be positioned on the opening element of the packet extension. As required by the smack API, at the end of the method call, the parser will be positioned on the closing element of the packet extension.

Specified by:
parseExtension in interface org.jivesoftware.smack.provider.PacketExtensionProvider
Parameters:
parser - an XML parser positioned at the opening ConferenceMedium element.
Returns:
a new ConferenceMediumPacketExtension instance.
Throws:
Exception - if an error occurs parsing the XML.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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