public class DefaultConverterFactory extends Object implements ConverterFactory
Mapper
.3.3
Modifier and Type | Class and Description |
---|---|
static class |
DefaultConverterFactory.InstantiationStrategy |
Constructor and Description |
---|
DefaultConverterFactory(Class<? extends com.thoughtworks.xstream.converters.Converter> targetClass) |
DefaultConverterFactory(Class<? extends com.thoughtworks.xstream.converters.Converter> targetClass,
DefaultConverterFactory.InstantiationStrategy instantiationStrategy) |
Modifier and Type | Method and Description |
---|---|
com.thoughtworks.xstream.converters.Converter |
createConverter(com.thoughtworks.xstream.XStream xStream)
Create converter for given xStream instance.
|
public DefaultConverterFactory(@NotNull Class<? extends com.thoughtworks.xstream.converters.Converter> targetClass)
public DefaultConverterFactory(@NotNull Class<? extends com.thoughtworks.xstream.converters.Converter> targetClass, @NotNull DefaultConverterFactory.InstantiationStrategy instantiationStrategy)
@NotNull public com.thoughtworks.xstream.converters.Converter createConverter(@NotNull com.thoughtworks.xstream.XStream xStream)
ConverterFactory
createConverter
in interface ConverterFactory
xStream
- XStream instanceCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.