public class ReflectionConverter extends AbstractReflectionConverter
AbstractReflectionConverter.DuplicateFieldException, AbstractReflectionConverter.UnknownFieldException| Modifier and Type | Field and Description |
|---|---|
private static java.lang.Class |
eventHandlerType |
private java.lang.Class |
type |
mapper, reflectionProvider, serializationMembers, serializationMethodInvoker| Constructor and Description |
|---|
ReflectionConverter(Mapper mapper,
ReflectionProvider reflectionProvider) |
ReflectionConverter(Mapper mapper,
ReflectionProvider reflectionProvider,
java.lang.Class type)
Construct a ReflectionConverter for an explicit type.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(java.lang.Class type)
Determines whether the converter can marshall a particular type.
|
canAccess, doMarshal, doUnmarshal, flushCache, instantiateNewInstance, marshal, marshallField, readResolve, shouldUnmarshalField, shouldUnmarshalTransientFields, unmarshal, unmarshallFieldprivate static final java.lang.Class eventHandlerType
private java.lang.Class type
public ReflectionConverter(Mapper mapper, ReflectionProvider reflectionProvider)
public ReflectionConverter(Mapper mapper, ReflectionProvider reflectionProvider, java.lang.Class type)
mapper - the mapper in usereflectionProvider - the reflection provider in usetype - the explicit type to handlepublic boolean canConvert(java.lang.Class type)
ConverterMatchertype - the Class representing the object type to be converted