Top Description Constructors Methods
com.thoughtworks.xstream.mapper

public Class LambdaMapper

extends MapperWrapper
Class Inheritance
Imports
java.io.Serializable, java.lang.reflect.Method, .Modifier, com.thoughtworks.xstream.core.util.Types

Mapper to map serializable lambda types to the name of their functional interface and non-serializable ones to Mapper.Null.
Author
Jörg Schaible
Since
1.4.8

Constructor Summary

AccessConstructor and Description
public
LambdaMapper(final Mapper
mapper
wrapped
)

Constructs a LambdaMapper.

Method Summary

Modifier and TypeMethod and Description
public String
serializedClass(final Class<T> type)

Overrides com.thoughtworks.xstream.mapper.MapperWrapper.serializedClass.

Implements com.thoughtworks.xstream.mapper.Mapper.serializedClass.

How a class name should be represented in its serialized form.
Inherited from com.thoughtworks.xstream.mapper.MapperWrapper:
aliasForAttributealiasForAttributealiasForSystemAttributeattributeForAliasattributeForAliasdefaultImplementationOfgetConverterFromAttributegetConverterFromAttributegetConverterFromAttributegetConverterFromItemTypegetConverterFromItemTypegetConverterFromItemTypegetFieldNameForItemTypeAndNamegetImplicitCollectionDefForFieldNamegetItemTypeForItemFieldNamegetLocalConverterisIgnoredElementisImmutableValueTypeisReferenceablelookupMapperOfTyperealClassrealMemberserializedMembershouldSerializeMember

Constructor Detail

LambdaMapperback to summary
public LambdaMapper(final Mapper wrapped)

Constructs a LambdaMapper.

Parameters
wrapped:Mapper

mapper

Since
1.4.8

Method Detail

serializedClassback to summary
public String serializedClass(final Class<T> type)

Overrides com.thoughtworks.xstream.mapper.MapperWrapper.serializedClass.

Implements com.thoughtworks.xstream.mapper.Mapper.serializedClass.

Doc from com.thoughtworks.xstream.mapper.Mapper.serializedClass.

How a class name should be represented in its serialized form.

Annotations
@Override