Package com.thoughtworks.xstream.mapper
Class DynamicProxyMapper
java.lang.Object
com.thoughtworks.xstream.mapper.MapperWrapper
com.thoughtworks.xstream.mapper.DynamicProxyMapper
- All Implemented Interfaces:
Mapper
Mapper for handling special cases of aliasing dynamic proxies. The alias property specifies the name an instance
of a dynamic proxy should be serialized with.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Place holder type used for dynamic proxies.Nested classes/interfaces inherited from interface com.thoughtworks.xstream.mapper.Mapper
Mapper.ImplicitCollectionMapping, Mapper.Null
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDynamicProxyMapper
(Mapper wrapped) DynamicProxyMapper
(Mapper wrapped, String alias) -
Method Summary
Methods inherited from class com.thoughtworks.xstream.mapper.MapperWrapper
aliasForAttribute, aliasForAttribute, aliasForSystemAttribute, attributeForAlias, attributeForAlias, defaultImplementationOf, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getFieldNameForItemTypeAndName, getImplicitCollectionDefForFieldName, getItemTypeForItemFieldName, getLocalConverter, isIgnoredElement, isImmutableValueType, isReferenceable, lookupMapperOfType, realMember, serializedMember, shouldSerializeMember
-
Field Details
-
alias
-
-
Constructor Details
-
DynamicProxyMapper
-
DynamicProxyMapper
-
-
Method Details
-
getAlias
-
setAlias
-
serializedClass
Description copied from interface:Mapper
How a class name should be represented in its serialized form.- Specified by:
serializedClass
in interfaceMapper
- Overrides:
serializedClass
in classMapperWrapper
-
realClass
Description copied from interface:Mapper
How a serialized class representation should be mapped back to a real class.- Specified by:
realClass
in interfaceMapper
- Overrides:
realClass
in classMapperWrapper
-