public class DelayInfoProvider extends DelayInformationProvider
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
Constructor and Description |
---|
DelayInfoProvider() |
Modifier and Type | Method and Description |
---|---|
PacketExtension |
parseExtension(org.xmlpull.v1.XmlPullParser parser)
Parse an extension sub-packet and create a PacketExtension instance.
|
public DelayInfoProvider()
public PacketExtension parseExtension(org.xmlpull.v1.XmlPullParser parser) throws Exception
PacketExtensionProvider
parseExtension
in interface PacketExtensionProvider
parseExtension
in class DelayInformationProvider
parser
- an XML parser.Exception
- if an error occurs parsing the XML.