public class LookAndFeelConverter extends ReflectionConverter
NotSerializableException
in their writeObject
method. Therefore XStream will use an implementation based on the ReflectionConverter.AbstractReflectionConverter.DuplicateFieldException, AbstractReflectionConverter.UnknownFieldException
mapper, reflectionProvider, serializationMembers, serializationMethodInvoker
Constructor and Description |
---|
LookAndFeelConverter(Mapper mapper,
ReflectionProvider reflectionProvider)
Constructs a LookAndFeelConverter.
|
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 LookAndFeelConverter(Mapper mapper, ReflectionProvider reflectionProvider)
mapper
- the mapperreflectionProvider
- the reflection providerpublic boolean canConvert(Class type)
ConverterMatcher
canConvert
in interface ConverterMatcher
canConvert
in class ReflectionConverter
type
- the Class representing the object type to be convertedCopyright © 2004–2017 XStream. All rights reserved.