com.atlassian.bamboo.persister.xstream
Class ConverterDecorator

java.lang.Object
  extended by com.atlassian.bamboo.persister.xstream.ConverterDecorator
Direct Known Subclasses:
BuildResultsConverter, LabelPathMapConverter, XWorkListConverter

public class ConverterDecorator
extends Object


Field Summary
protected  Class classToConvert
           
protected  Converter converter
           
 
Constructor Summary
ConverterDecorator(Class classToConvert, Converter converter)
           
 
Method Summary
 boolean canConvert(Class type)
           
 void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context)
           
 Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

converter

protected final Converter converter

classToConvert

protected final Class classToConvert
Constructor Detail

ConverterDecorator

public ConverterDecorator(Class classToConvert,
                          Converter converter)
Method Detail

canConvert

public boolean canConvert(Class type)

marshal

public void marshal(Object source,
                    HierarchicalStreamWriter writer,
                    MarshallingContext context)

unmarshal

public Object unmarshal(HierarchicalStreamReader reader,
                        UnmarshallingContext context)


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.