Smack

org.jivesoftware.smackx.workgroup.packet
Class OfferRequestProvider

java.lang.Object
  extended by org.jivesoftware.smackx.workgroup.packet.OfferRequestProvider
All Implemented Interfaces:
IQProvider

public class OfferRequestProvider
extends Object
implements IQProvider

An IQProvider for agent offer requests.

Author:
loki der quaeler

Nested Class Summary
static class OfferRequestProvider.OfferRequestPacket
           
 
Constructor Summary
OfferRequestProvider()
           
 
Method Summary
 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
 

Constructor Detail

OfferRequestProvider

public OfferRequestProvider()
Method Detail

parseIQ

public IQ parseIQ(org.xmlpull.v1.XmlPullParser parser)
           throws Exception
Description copied from interface: IQProvider
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 IQProvider
Parameters:
parser - an XML parser.
Returns:
a new IQ instance.
Throws:
Exception - if an error occurs parsing the XML.

Smack

Copyright © 2003 Jive Software.