Class DefaultMapperFactory

    • Constructor Detail

      • DefaultMapperFactory

        public DefaultMapperFactory​(Class<? extends com.thoughtworks.xstream.mapper.MapperWrapper> mapperClass)
    • Method Detail

      • createMapper

        @NotNull
        public @NotNull com.thoughtworks.xstream.mapper.MapperWrapper createMapper​(@NotNull
                                                                                   @NotNull com.thoughtworks.xstream.mapper.MapperWrapper next)
        Description copied from interface: MapperFactory

        Create custom mapper that wraps the default mapper chain represented by wrappedMapper.

        Specified by:
        createMapper in interface MapperFactory
        Parameters:
        next - wrapped mapper
        Returns:
        new custom mapper instance, should never be null