|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XStreamManager
Common XStream persistence behaviour. This component also maintains XStreams capable of deserializing XMLs containing classes specific to plugins. To deserialize such XMLs, use
DefaultXStreamManager.fromXML(String, String)
and pass your plugin's key.
Method Summary | |
---|---|
java.lang.Object |
fromXML(java.lang.String xml)
Convert the xml into a java Object instance |
java.lang.Object |
fromXML(java.lang.String pluginKey,
java.lang.String serializedData)
Convert XML serializedData into an object in the context of plugin referred to by pluginKey. |
java.lang.String |
toXML(java.lang.Object object)
Convert the java object into its XML form |
Method Detail |
---|
java.lang.Object fromXML(java.lang.String xml)
xml
- The xml representation of the object
java.lang.Object fromXML(java.lang.String pluginKey, java.lang.String serializedData)
pluginKey
- plugin key defining the plugin context of the marshalled classserializedData
- XML data
java.lang.String toXML(java.lang.Object object)
object
- The object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |