public static class AttentionExtension.Provider extends Object implements PacketExtensionProvider
PacketExtensionProvider
for the AttentionExtension
. As
Attention elements have no state/information other than the element name
and namespace, this implementation simply returns new instances of
AttentionExtension
.Constructor and Description |
---|
AttentionExtension.Provider() |
Modifier and Type | Method and Description |
---|---|
PacketExtension |
parseExtension(org.xmlpull.v1.XmlPullParser arg0)
Parse an extension sub-packet and create a PacketExtension instance.
|
public AttentionExtension.Provider()
public PacketExtension parseExtension(org.xmlpull.v1.XmlPullParser arg0) throws Exception
PacketExtensionProvider
parseExtension
in interface PacketExtensionProvider
arg0
- an XML parser.Exception
- if an error occurs parsing the XML.