public class JivePropertiesExtensionProvider extends 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 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.Exception
- if an error occurs while parsing the properties.Copyright © 2015 Ignite Realtime. All rights reserved.