Interface MapperFactory
-
- All Known Implementing Classes:
DefaultMapperFactory
,PluginsAwareMapper.Factory
public interface MapperFactory
Provides custom XStream
Mapper
s that wraps around the default chain of mappers.- Since:
- v3.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull com.thoughtworks.xstream.mapper.MapperWrapper
createMapper(@NotNull com.thoughtworks.xstream.mapper.MapperWrapper wrappedMapper)
Create custom mapper that wraps the default mapper chain represented by wrappedMapper.
-
-
-
Method Detail
-
createMapper
@NotNull @NotNull com.thoughtworks.xstream.mapper.MapperWrapper createMapper(@NotNull @NotNull com.thoughtworks.xstream.mapper.MapperWrapper wrappedMapper)
Create custom mapper that wraps the default mapper chain represented by wrappedMapper.
- Parameters:
wrappedMapper
- wrapped mapper- Returns:
- new custom mapper instance, should never be
null
-
-