Class CustomBundleSerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<Bundle>
-
- org.openprovenance.prov.core.xml.serialization.serial.CustomBundleSerializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
public abstract class CustomBundleSerializer extends com.fasterxml.jackson.databind.JsonSerializer<Bundle>
-
-
Constructor Summary
Constructors Constructor Description CustomBundleSerializer()
-
Method Summary
Modifier and Type Method Description voidserialize(Bundle bun, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider)voidserializeWithType(Bundle bun, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializers, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer)
-
-
-
Method Detail
-
serialize
public void serialize(Bundle bun, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider) throws IOException
- Specified by:
serializein classcom.fasterxml.jackson.databind.JsonSerializer<Bundle>- Throws:
IOException
-
serializeWithType
public void serializeWithType(Bundle bun, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializers, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) throws IOException
- Overrides:
serializeWithTypein classcom.fasterxml.jackson.databind.JsonSerializer<Bundle>- Throws:
IOException
-
-