src/main/java/org/nustaq/serialization/FSTConfiguration.java
public void registerSerializer(Class clazz, FSTObjectSerializer ser, boolean alsoForAllSubclasses ) {
        serializationInfoRegistry.getSerializerRegistry().putSerializer(clazz, ser, alsoForAllSubclasses);
    }
public void registerSerializer(Class clazz, FSTObjectSerializer ser, boolean alsoForAllSubclasses ) {
        serializationInfoRegistry.getSerializerRegistry().putSerializer(clazz, ser, alsoForAllSubclasses);
    }
register a custom serializer for a given class or the class and all of its subclasses.
Serializers must be configured identical on read/write side and should be set before
actually making use of the Configuration.

@param clazz
@param ser
@param alsoForAllSubclasses