public class AnnotationMapper extends MapperWrapper implements AnnotationConfiguration
Mapper.ImplicitCollectionMapping, Mapper.Null
Constructor and Description |
---|
AnnotationMapper(Mapper wrapped,
ConverterRegistry converterRegistry,
ConverterLookup converterLookup,
ClassLoaderReference classLoaderReference,
ReflectionProvider reflectionProvider)
Construct an AnnotationMapper.
|
AnnotationMapper(Mapper wrapped,
ConverterRegistry converterRegistry,
ConverterLookup converterLookup,
java.lang.ClassLoader classLoader,
ReflectionProvider reflectionProvider,
JVM jvm)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
autodetectAnnotations(boolean mode) |
java.lang.Class |
defaultImplementationOf(java.lang.Class type) |
Converter |
getLocalConverter(java.lang.Class definedIn,
java.lang.String fieldName) |
void |
processAnnotations(java.lang.Class[] initialTypes) |
java.lang.String |
realMember(java.lang.Class type,
java.lang.String serialized)
How a serialized member representation should be mapped back to a real member.
|
java.lang.String |
serializedClass(java.lang.Class type)
How a class name should be represented in its serialized form.
|
aliasForAttribute, aliasForAttribute, aliasForSystemAttribute, attributeForAlias, attributeForAlias, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getFieldNameForItemTypeAndName, getImplicitCollectionDefForFieldName, getItemTypeForItemFieldName, isIgnoredElement, isImmutableValueType, isReferenceable, lookupMapperOfType, realClass, serializedMember, shouldSerializeMember
public AnnotationMapper(Mapper wrapped, ConverterRegistry converterRegistry, ConverterLookup converterLookup, ClassLoaderReference classLoaderReference, ReflectionProvider reflectionProvider)
wrapped
- the next Mapper
in the chainpublic AnnotationMapper(Mapper wrapped, ConverterRegistry converterRegistry, ConverterLookup converterLookup, java.lang.ClassLoader classLoader, ReflectionProvider reflectionProvider, JVM jvm)
AnnotationMapper(Mapper, ConverterRegistry, ConverterLookup, ClassLoaderReference, ReflectionProvider)
wrapped
- the next Mapper
in the chainpublic java.lang.String realMember(java.lang.Class type, java.lang.String serialized)
Mapper
realMember
in interface Mapper
realMember
in class MapperWrapper
public java.lang.String serializedClass(java.lang.Class type)
Mapper
serializedClass
in interface Mapper
serializedClass
in class MapperWrapper
public java.lang.Class defaultImplementationOf(java.lang.Class type)
defaultImplementationOf
in interface Mapper
defaultImplementationOf
in class MapperWrapper
public Converter getLocalConverter(java.lang.Class definedIn, java.lang.String fieldName)
getLocalConverter
in interface Mapper
getLocalConverter
in class MapperWrapper
public void autodetectAnnotations(boolean mode)
autodetectAnnotations
in interface AnnotationConfiguration
public void processAnnotations(java.lang.Class[] initialTypes)
processAnnotations
in interface AnnotationConfiguration
Copyright © 2004–2024 XStream. All rights reserved.