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
Modifier and TypeMethodDescription@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 Details
-
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
-