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,
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, unmarshallField
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)
ConverterMatcher
type
- the Class representing the object type to be convertedCopyright © 2004–2024 XStream. All rights reserved.