com.atlassian.bamboo.serialization.xstream
Class DefaultConverterFactory
java.lang.Object
com.atlassian.bamboo.serialization.xstream.DefaultConverterFactory
- All Implemented Interfaces:
- ConverterFactory
public class DefaultConverterFactory
- extends java.lang.Object
- implements ConverterFactory
Creates converters given their class and assuming that they have single-parameter constructor taking
Mapper
.
- See Also:
3.3
Method Summary |
com.thoughtworks.xstream.converters.Converter |
createConverter(com.thoughtworks.xstream.XStream xStream)
Create converter for given xStream instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultConverterFactory
public DefaultConverterFactory(@NotNull
java.lang.Class<? extends com.thoughtworks.xstream.converters.Converter> targetClass)
DefaultConverterFactory
public DefaultConverterFactory(@NotNull
java.lang.Class<? extends com.thoughtworks.xstream.converters.Converter> targetClass,
@NotNull
DefaultConverterFactory.InstantiationStrategy instantiationStrategy)
createConverter
@NotNull
public com.thoughtworks.xstream.converters.Converter createConverter(@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
Copyright © 2012 Atlassian. All Rights Reserved.