protected void addSerializableClass ( Class < ? > serializable , Class < ? > mixin ) { safeMapper . addMixIn ( serializable , mixin ) ; fullMapper . addMixIn ( serializable , mixin ) ; }
This protected method allows a subclass to add to the mappers a class type that can be serialized using mixin class .