Class LambdaMapper
java.lang.Object
com.thoughtworks.xstream.mapper.MapperWrapper
com.thoughtworks.xstream.mapper.LambdaMapper
- All Implemented Interfaces:
Mapper
Mapper to map serializable lambda types to the name of their functional interface and non-serializable ones to
Mapper.Null.
- Since:
- 1.4.8
-
Nested Class Summary
Nested classes/interfaces inherited from interface Mapper
Mapper.ImplicitCollectionMapping, Mapper.Null -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionserializedClass(Class type) How a class name should be represented in its serialized form.Methods inherited from class MapperWrapper
aliasForAttribute, aliasForAttribute, aliasForSystemAttribute, attributeForAlias, attributeForAlias, defaultImplementationOf, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getFieldNameForItemTypeAndName, getImplicitCollectionDefForFieldName, getItemTypeForItemFieldName, getLocalConverter, isIgnoredElement, isImmutableValueType, isReferenceable, lookupMapperOfType, realClass, realMember, serializedMember, shouldSerializeMember
-
Constructor Details
-
LambdaMapper
Constructs a LambdaMapper.- Parameters:
wrapped- mapper- Since:
- 1.4.8
-
-
Method Details
-
serializedClass
Description copied from interface:MapperHow a class name should be represented in its serialized form.- Specified by:
serializedClassin interfaceMapper- Overrides:
serializedClassin classMapperWrapper
-