@Deprecated public class OpenmrsCycleStrategy extends org.simpleframework.xml.graph.CycleStrategy
Serializer serializer = new Persister(new OpenmrsCycleStrategy()); serializer.write(someObject, outputStream);
Constructor and Description |
---|
OpenmrsCycleStrategy()
Deprecated.
Overriding the default constructor so we can set our label logic onto the strategy.
|
OpenmrsCycleStrategy(boolean isShortSerialization)
Deprecated.
Custom constructor to set whether this serialization will be a short one or not.
|
Modifier and Type | Method and Description |
---|---|
boolean |
setRoot(Class field,
Object value,
org.simpleframework.xml.stream.NodeMap node,
Map map)
Deprecated.
|
public OpenmrsCycleStrategy()
public OpenmrsCycleStrategy(boolean isShortSerialization)
isShortSerialization
- public boolean setRoot(Class field, Object value, org.simpleframework.xml.stream.NodeMap node, Map map)
setRoot
in interface org.simpleframework.xml.load.Strategy
setRoot
in class org.simpleframework.xml.graph.CycleStrategy
CycleStrategy.setRoot(java.lang.Class, java.lang.Object,
org.simpleframework.xml.stream.NodeMap, java.util.Map)
Copyright © 2015 OpenMRS Inc.. All rights reserved.