Class CustomNamespaceSerializer

java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<Namespace>
com.fasterxml.jackson.databind.ser.std.StdSerializer<Namespace>
org.openprovenance.prov.core.jsonld11.serialization.serial.CustomNamespaceSerializer
All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, com.fasterxml.jackson.databind.jsonschema.SchemaAware, Serializable

public class CustomNamespaceSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<Namespace>
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer

    com.fasterxml.jackson.databind.JsonSerializer.None
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer

    _handledType
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
    CustomNamespaceSerializer(boolean embedContext)
     
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Map<String,Object>
     
    void
    serialize(Namespace namespace, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider)
     

    Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer

    _neitherNull, _nonEmpty, acceptJsonFormatVisitor, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow

    Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer

    getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • CustomNamespaceSerializer

      public CustomNamespaceSerializer(boolean embedContext)
    • CustomNamespaceSerializer

      protected CustomNamespaceSerializer(Class<Namespace> t)
  • Method Details

    • readContext

      public static Map<String,Object> readContext() throws IOException
      Throws:
      IOException
    • serialize

      public void serialize(Namespace namespace, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider) throws IOException
      Specified by:
      serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<Namespace>
      Throws:
      IOException