Class NoCodecFactory

java.lang.Object
org.nuxeo.runtime.codec.NoCodecFactory
All Implemented Interfaces:
CodecFactory

public class NoCodecFactory extends Object implements CodecFactory
Returns a dummy codec used as marker.
Since:
10.2
  • Constructor Details

    • NoCodecFactory

      public NoCodecFactory()
  • Method Details

    • init

      public void init(Map<String,String> options)
      Description copied from interface: CodecFactory
      Initializes the codec factory using a map of options.
      Specified by:
      init in interface CodecFactory
    • newCodec

      public <T> Codec<T> newCodec(Class<T> objectClass)
      Description copied from interface: CodecFactory
      Returns a codec object enables to encode/decode object ot class T.
      Specified by:
      newCodec in interface CodecFactory