public class JivePropertiesExtensionProvider extends java.lang.Object implements PacketExtensionProvider
Constructor and Description |
---|
JivePropertiesExtensionProvider() |
Modifier and Type | Method and Description |
---|---|
PacketExtension |
parseExtension(org.xmlpull.v1.XmlPullParser parser)
Parse a properties sub-packet.
|
public 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 PacketExtensionProvider
parser
- the XML parser, positioned at the start of a properties sub-packet.java.lang.Exception
- if an error occurs while parsing the properties.