public class XmlMementoSerializer<T> extends XmlSerializer<T> implements MementoSerializer<T>
Modifier and Type | Class and Description |
---|---|
class |
XmlMementoSerializer.CatalogItemConverter |
class |
XmlMementoSerializer.CustomMapper
For changing the tag used for anything that implements/extends the given type.
|
class |
XmlMementoSerializer.EnricherConverter |
class |
XmlMementoSerializer.EntityConverter |
class |
XmlMementoSerializer.FeedConverter |
class |
XmlMementoSerializer.IdentifiableConverter<IT extends Identifiable> |
class |
XmlMementoSerializer.LocationConverter |
class |
XmlMementoSerializer.ManagementContextConverter |
class |
XmlMementoSerializer.PolicyConverter |
class |
XmlMementoSerializer.SpecConverter
When reading/writing specs, it checks whether there is a catalog item id set and uses it to load
|
class |
XmlMementoSerializer.TaskConverter |
NOOP
Constructor and Description |
---|
XmlMementoSerializer(java.lang.ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
void |
serialize(java.lang.Object object,
java.io.Writer writer) |
void |
setLookupContext(BrooklynMementoPersister.LookupContext lookupContext) |
void |
unsetLookupContext() |
deserialize, fromString, toString
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromString, toString
public XmlMementoSerializer(java.lang.ClassLoader classLoader)
public void serialize(java.lang.Object object, java.io.Writer writer)
serialize
in class XmlSerializer<T>
public void setLookupContext(BrooklynMementoPersister.LookupContext lookupContext)
setLookupContext
in interface MementoSerializer<T>
public void unsetLookupContext()
unsetLookupContext
in interface MementoSerializer<T>