Class SingletonConverterFactory

    • Constructor Detail

      • SingletonConverterFactory

        public SingletonConverterFactory​(@NotNull
                                         @NotNull com.thoughtworks.xstream.converters.Converter converter)
    • Method Detail

      • createConverter

        @NotNull
        public @NotNull com.thoughtworks.xstream.converters.Converter createConverter​(@NotNull
                                                                                      @NotNull com.thoughtworks.xstream.XStream xStream)
        Description copied from interface: ConverterFactory
        Create converter for given xStream instance.
        Specified by:
        createConverter in interface ConverterFactory
        Parameters:
        xStream - XStream instance
        Returns:
        new converter