Interface DataObjectSerializerImplementation
-
- All Known Implementing Classes:
DataObjectStreamer
public interface DataObjectSerializerImplementation
SPI-level contract for implementations ofDataObjectSerializer
. The contract is kept between implementation ofDataObjectSerializerRegistry
, which maintains the lookup context required for recursive serialization.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
serialize(DataObjectSerializerRegistry reg, DataObject obj, BindingStreamEventWriter stream)
Writes stream events for supplied data object to provided stream.
-
-
-
Method Detail
-
serialize
void serialize(DataObjectSerializerRegistry reg, DataObject obj, BindingStreamEventWriter stream) throws IOException
Writes stream events for supplied data object to provided stream.DataObjectSerializerRegistry may be used to lookup serializers for other generated classes in order to support writing their events.
- Throws:
IOException
-
-