Interface ObjectTypeMapper
-
- All Known Subinterfaces:
ObjectSerializationHandler
- All Known Implementing Classes:
AbstractObjectSerializationHandler,EnumSerializationHandler,ObjectTypeMapperImpl
public interface ObjectTypeMapperInterface to be implemented to handle the serialization/deserialization of an object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<?>getHandledObjectType()Returns the java class handled by this handler.StringgetHandledSerialType()Returns the type of object being serialized.booleanisMatchSubclasses()Should we match subclasses of the given class or only the exact class?
-
-
-
Method Detail
-
getHandledSerialType
String getHandledSerialType()
Returns the type of object being serialized.- Returns:
- an abstract type name that is intended to be language neutral
-
getHandledObjectType
Class<?> getHandledObjectType()
Returns the java class handled by this handler.- Returns:
- the java class handled by this handler
-
isMatchSubclasses
boolean isMatchSubclasses()
Should we match subclasses of the given class or only the exact class?- Returns:
- whether subclasses of the given class or only the exact class should be matched
-
-