public class JivePropertiesExtensionProvider
extends java.lang.Object
implements org.jivesoftware.smack.provider.PacketExtensionProvider
| Constructor and Description |
|---|
JivePropertiesExtensionProvider() |
| Modifier and Type | Method and Description |
|---|---|
org.jivesoftware.smack.packet.PacketExtension |
parseExtension(org.xmlpull.v1.XmlPullParser parser)
Parse a properties sub-packet.
|
public org.jivesoftware.smack.packet.PacketExtension parseExtension(org.xmlpull.v1.XmlPullParser parser)
throws java.lang.Exception
Note that you have to explicitly enabled Java object deserialization with @{link
JivePropertiesManager.setJavaObjectEnabled(boolean)
parseExtension in interface org.jivesoftware.smack.provider.PacketExtensionProviderparser - the XML parser, positioned at the start of a properties sub-packet.java.lang.Exception - if an error occurs while parsing the properties.