net.java.sip.communicator.impl.protocol.jabber.extensions.notification
Class NotificationEventIQProvider
java.lang.Object
net.java.sip.communicator.impl.protocol.jabber.extensions.notification.NotificationEventIQProvider
- All Implemented Interfaces:
- org.jivesoftware.smack.provider.IQProvider
public class NotificationEventIQProvider
- extends Object
- implements org.jivesoftware.smack.provider.IQProvider
The NotificationEventIQProvider parses Notification Event packets.
- Author:
- Damian Minkov
|
Method Summary |
org.jivesoftware.smack.packet.IQ |
parseIQ(org.xmlpull.v1.XmlPullParser parser)
Parse the IQ sub-document and create an IQ instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotificationEventIQProvider
public NotificationEventIQProvider()
parseIQ
public org.jivesoftware.smack.packet.IQ parseIQ(org.xmlpull.v1.XmlPullParser parser)
throws Exception
- Parse the IQ sub-document and create an IQ instance. Each IQ must have a
single child element. At the beginning of the method call, the xml parser
will be positioned at the opening tag of the IQ child element. At the end
of the method call, the parser must be positioned on the closing
tag of the child element.
- Specified by:
parseIQ in interface org.jivesoftware.smack.provider.IQProvider
- Parameters:
parser - an XML parser.
- Returns:
- a new IQ instance.
- Throws:
Exception - if an error occurs parsing the XML.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.