public SerializerRegistry registerDefault ( Class < ? > baseType , Class < ? extends TypeSerializer > serializer ) { return registerDefault ( baseType , new DefaultTypeSerializerFactory ( serializer ) ) ; }
Registers the given class as a default serializer for the given base type .