Class DetachedEntityMarshaller
java.lang.Object
ch.tocco.nice2.persist.history.impl.xml.AbstractMarshaller<DetachedEntity>
ch.tocco.nice2.persist.history.impl.v2.DetachedEntityMarshaller
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter
,com.thoughtworks.xstream.converters.ConverterMatcher
Xstream
Converter
that serializes a DetachedEntity
instance to XML.
This matches the 'old' format that was created by the old history implementation
so that old data can still be compared.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
write
(DetachedEntity source, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context) Methods inherited from class ch.tocco.nice2.persist.history.impl.xml.AbstractMarshaller
canConvert, marshal, read, unmarshal
-
Constructor Details
-
DetachedEntityMarshaller
protected DetachedEntityMarshaller()
-
-
Method Details
-
write
protected void write(DetachedEntity source, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context) - Specified by:
write
in classAbstractMarshaller<DetachedEntity>
-