public class ReflectionConverter extends AbstractReflectionConverter
AbstractReflectionConverter.DuplicateFieldException, AbstractReflectionConverter.UnknownFieldException
mapper, reflectionProvider, serializationMembers, serializationMethodInvoker
Constructor and Description |
---|
ReflectionConverter(Mapper mapper,
ReflectionProvider reflectionProvider) |
ReflectionConverter(Mapper mapper,
ReflectionProvider reflectionProvider,
Class type)
Construct a ReflectionConverter for an explicit type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(Class type)
Determines whether the converter can marshall a particular type.
|
canAccess, doMarshal, doUnmarshal, flushCache, instantiateNewInstance, marshal, marshallField, readResolve, shouldUnmarshalField, shouldUnmarshalTransientFields, unmarshal, unmarshallField
public ReflectionConverter(Mapper mapper, ReflectionProvider reflectionProvider)
public ReflectionConverter(Mapper mapper, ReflectionProvider reflectionProvider, Class type)
mapper
- the mapper in usereflectionProvider
- the reflection provider in usetype
- the explicit type to handlepublic boolean canConvert(Class type)
ConverterMatcher
type
- the Class representing the object type to be convertedCopyright © 2004–2016 XStream. All rights reserved.