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>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
com.fasterxml.jackson.databind.JsonSerializer.None -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidserialize(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) Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer
acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties
-
Constructor Details
-
CustomBundleSerializer
public CustomBundleSerializer()
-
-
Method Details
-
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
-