Package org.nuxeo.runtime.codec
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 Summary
Constructors Constructor Description NoCodecFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(Map<String,String> options)
Initializes the codec factory using a map of options.<T> Codec<T>
newCodec(Class<T> objectClass)
Returns a codec object enables to encode/decode object ot class T.
-
-
-
Method Detail
-
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 interfaceCodecFactory
-
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 interfaceCodecFactory
-
-