|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.persister.xstream.CustomizableXStreamFactory
public class CustomizableXStreamFactory
XStreamFactory
that can be customized with XStream components: mappers,
converters, initializers and aliases.
Constructor Summary | |
---|---|
CustomizableXStreamFactory(java.lang.Iterable<MapperFactory> customMappers,
java.lang.Iterable<ConverterFactory> customConverters,
java.lang.Iterable<XStreamInitializer> customInitializers,
java.util.Map<java.lang.String,java.lang.Class<?>> customAliases)
|
Method Summary | |
---|---|
com.thoughtworks.xstream.XStream |
createCompactXStream()
Create XStream backed by given classLoader and driver. |
com.thoughtworks.xstream.XStream |
createXStream()
Create default instance of XStream. |
com.thoughtworks.xstream.XStream |
createXStream(java.lang.ClassLoader classLoader)
Create XStream backed by given classLoader. |
static XStreamFactory |
getDefaultInstance()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomizableXStreamFactory(@NotNull java.lang.Iterable<MapperFactory> customMappers, @NotNull java.lang.Iterable<ConverterFactory> customConverters, @NotNull java.lang.Iterable<XStreamInitializer> customInitializers, @NotNull java.util.Map<java.lang.String,java.lang.Class<?>> customAliases)
Method Detail |
---|
public static XStreamFactory getDefaultInstance()
@NotNull public com.thoughtworks.xstream.XStream createXStream()
XStreamFactory
createXStream
in interface XStreamFactory
@NotNull public com.thoughtworks.xstream.XStream createXStream(java.lang.ClassLoader classLoader)
XStreamFactory
XStream
backed by given classLoader.
createXStream
in interface XStreamFactory
classLoader
- class loader to use by the created XStream, if null
, the default classloader will
be used
@NotNull public com.thoughtworks.xstream.XStream createCompactXStream()
XStreamFactory
XStream
backed by given classLoader and driver.
createCompactXStream
in interface XStreamFactory
HierarchicalStreamDriver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |