public class AnnotationMapper
extends com.thoughtworks.xstream.mapper.MapperWrapper
implements com.thoughtworks.xstream.mapper.AnnotationConfiguration
| Constructor and Description |
|---|
AnnotationMapper(com.thoughtworks.xstream.mapper.Mapper wrapped,
com.thoughtworks.xstream.converters.ConverterRegistry converterRegistry,
com.thoughtworks.xstream.converters.ConverterLookup converterLookup,
XStreamClassLoader classLoader,
com.thoughtworks.xstream.converters.reflection.ReflectionProvider reflectionProvider,
com.thoughtworks.xstream.core.JVM jvm)
Construct an AnnotationMapper.
|
| Modifier and Type | Method and Description |
|---|---|
void |
autodetectAnnotations(boolean mode) |
Class |
defaultImplementationOf(Class type) |
com.thoughtworks.xstream.converters.Converter |
getLocalConverter(Class definedIn,
String fieldName) |
void |
processAnnotations(Class[] initialTypes) |
String |
realMember(Class type,
String serialized) |
String |
serializedClass(Class type) |
aliasForAttribute, aliasForAttribute, aliasForSystemAttribute, attributeForAlias, attributeForAlias, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getFieldNameForItemTypeAndName, getImplicitCollectionDefForFieldName, getItemTypeForItemFieldName, isImmutableValueType, lookupMapperOfType, realClass, serializedMember, shouldSerializeMemberpublic AnnotationMapper(com.thoughtworks.xstream.mapper.Mapper wrapped,
com.thoughtworks.xstream.converters.ConverterRegistry converterRegistry,
com.thoughtworks.xstream.converters.ConverterLookup converterLookup,
XStreamClassLoader classLoader,
com.thoughtworks.xstream.converters.reflection.ReflectionProvider reflectionProvider,
com.thoughtworks.xstream.core.JVM jvm)
wrapped - the next Mapper in the chainpublic String realMember(Class type, String serialized)
realMember in interface com.thoughtworks.xstream.mapper.MapperrealMember in class com.thoughtworks.xstream.mapper.MapperWrapperpublic String serializedClass(Class type)
serializedClass in interface com.thoughtworks.xstream.mapper.MapperserializedClass in class com.thoughtworks.xstream.mapper.MapperWrapperpublic Class defaultImplementationOf(Class type)
defaultImplementationOf in interface com.thoughtworks.xstream.mapper.MapperdefaultImplementationOf in class com.thoughtworks.xstream.mapper.MapperWrapperpublic com.thoughtworks.xstream.converters.Converter getLocalConverter(Class definedIn, String fieldName)
getLocalConverter in interface com.thoughtworks.xstream.mapper.MappergetLocalConverter in class com.thoughtworks.xstream.mapper.MapperWrapperpublic void autodetectAnnotations(boolean mode)
autodetectAnnotations in interface com.thoughtworks.xstream.mapper.AnnotationConfigurationpublic void processAnnotations(Class[] initialTypes)
processAnnotations in interface com.thoughtworks.xstream.mapper.AnnotationConfigurationCopyright © 2013. All Rights Reserved.