public class JivePropertiesExtensionProvider extends org.jivesoftware.smack.provider.ExtensionElementProvider<JivePropertiesExtension>
| Constructor and Description |
|---|
JivePropertiesExtensionProvider() |
| Modifier and Type | Method and Description |
|---|---|
JivePropertiesExtension |
parse(org.jivesoftware.smack.xml.XmlPullParser parser,
int initialDepth,
org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment)
Parse a properties sub-packet.
|
public JivePropertiesExtension parse(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment) throws org.jivesoftware.smack.xml.XmlPullParserException, java.io.IOException
Note that you have to explicitly enabled Java object deserialization with @{link
JivePropertiesManager.setJavaObjectEnabled(boolean)
parse in class org.jivesoftware.smack.provider.Provider<JivePropertiesExtension>parser - the XML parser, positioned at the start of a properties sub-packet.java.io.IOException - if an I/O error occurred.org.jivesoftware.smack.xml.XmlPullParserException - if an error in the XML parser occurred.