Class AbstractHibernateCollectionConverter
java.lang.Object
com.atlassian.bamboo.serialization.xstream.AbstractXStreamConverterAdapter
com.atlassian.bamboo.serialization.xstream.AbstractHibernateCollectionConverter
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter
,com.thoughtworks.xstream.converters.ConverterMatcher
- Direct Known Subclasses:
HibernateCollectionConverter
,HibernateMapConverter
,HibernateSortedMapConverter
,HibernateSortedSetConverter
Ensures that only initialised collections will be serialised
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractHibernateCollectionConverter
(com.thoughtworks.xstream.mapper.Mapper mapper, Class<? extends com.thoughtworks.xstream.converters.Converter> converterClass) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canConvert
(Class type) protected abstract boolean
isSupportedType
(@NotNull Class type) void
marshal
(Object source, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context) Methods inherited from class com.atlassian.bamboo.serialization.xstream.AbstractXStreamConverterAdapter
unmarshal
-
Constructor Details
-
AbstractHibernateCollectionConverter
protected AbstractHibernateCollectionConverter(com.thoughtworks.xstream.mapper.Mapper mapper, Class<? extends com.thoughtworks.xstream.converters.Converter> converterClass)
-
-
Method Details
-
canConvert
-
marshal
public void marshal(Object source, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context) - Specified by:
marshal
in interfacecom.thoughtworks.xstream.converters.Converter
- Overrides:
marshal
in classAbstractXStreamConverterAdapter
-
isSupportedType
-