org.jivesoftware.smackx.provider
Class DelayInfoProvider

java.lang.Object
  extended by org.jivesoftware.smackx.provider.DelayInformationProvider
      extended by org.jivesoftware.smackx.provider.DelayInfoProvider
All Implemented Interfaces:
org.jivesoftware.smack.provider.PacketExtensionProvider

public class DelayInfoProvider
extends DelayInformationProvider

This provider simply creates a DelayInfo decorator for the DelayInformation that is returned by the superclass. This allows the new code using Delay Information XEP-0203 to be backward compatible with XEP-0091.

This provider must be registered in the smack.properties file for the element delay with namespace urn:xmpp:delay

Author:
Robin Collier

Constructor Summary
DelayInfoProvider()
           
 
Method Summary
 org.jivesoftware.smack.packet.PacketExtension parseExtension(org.xmlpull.v1.XmlPullParser parser)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelayInfoProvider

public DelayInfoProvider()
Method Detail

parseExtension

public org.jivesoftware.smack.packet.PacketExtension parseExtension(org.xmlpull.v1.XmlPullParser parser)
                                                             throws java.lang.Exception
Specified by:
parseExtension in interface org.jivesoftware.smack.provider.PacketExtensionProvider
Overrides:
parseExtension in class DelayInformationProvider
Throws:
java.lang.Exception