Class SingletonConverterFactory
java.lang.Object
com.atlassian.bamboo.utils.xstream.converters.SingletonConverterFactory
- All Implemented Interfaces:
ConverterFactory
Singleton
ConverterFactory
.- Since:
- v3.3
-
Constructor Summary
ConstructorDescriptionSingletonConverterFactory
(@NotNull com.thoughtworks.xstream.converters.Converter converter) -
Method Summary
Modifier and TypeMethodDescription@NotNull com.thoughtworks.xstream.converters.Converter
createConverter
(@NotNull com.thoughtworks.xstream.XStream xStream) Create converter for given xStream instance.
-
Constructor Details
-
SingletonConverterFactory
public SingletonConverterFactory(@NotNull @NotNull com.thoughtworks.xstream.converters.Converter converter)
-
-
Method Details
-
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 interfaceConverterFactory
- Parameters:
xStream
- XStream instance- Returns:
- new converter
-