net.java.sip.communicator.impl.protocol.jabber.extensions.jingle
Class JingleIQProvider
java.lang.Object
net.java.sip.communicator.impl.protocol.jabber.extensions.jingle.JingleIQProvider
- All Implemented Interfaces:
- org.jivesoftware.smack.provider.IQProvider
public class JingleIQProvider
- extends Object
- implements org.jivesoftware.smack.provider.IQProvider
An implementation of a Jingle IQ provider that parses incoming Jingle IQs.
- Author:
- Emil Ivov
|
Constructor Summary |
JingleIQProvider()
Creates a new instance of the JingleIQProvider and register all
jingle related extension providers. |
|
Method Summary |
JingleIQ |
parseIQ(org.xmlpull.v1.XmlPullParser parser)
Parses a Jingle IQ sub-document and returns a JingleIQ instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JingleIQProvider
public JingleIQProvider()
- Creates a new instance of the JingleIQProvider and register all
jingle related extension providers. It is the responsibility of the
application to register the JingleIQProvider itself.
parseIQ
public JingleIQ parseIQ(org.xmlpull.v1.XmlPullParser parser)
throws Exception
- Parses a Jingle IQ sub-document and returns a
JingleIQ instance.
- Specified by:
parseIQ in interface org.jivesoftware.smack.provider.IQProvider
- Parameters:
parser - an XML parser.
- Returns:
- a new
JingleIQ instance.
- Throws:
Exception - if an error occurs parsing the XML.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.