com.thoughtworks.xstream.converters.extended
Class ColorConverter

java.lang.Object
  extended bycom.thoughtworks.xstream.converters.extended.ColorConverter
All Implemented Interfaces:
Converter

public class ColorConverter
extends java.lang.Object
implements Converter


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

Constructor Detail

ColorConverter

public ColorConverter()
Method Detail

canConvert

public boolean canConvert(java.lang.Class type)
Specified by:
canConvert in interface Converter

marshal

public void marshal(java.lang.Object source,
                    HierarchicalStreamWriter writer,
                    MarshallingContext context)
Specified by:
marshal in interface Converter

unmarshal

public java.lang.Object unmarshal(HierarchicalStreamReader reader,
                                  UnmarshallingContext context)
Specified by:
unmarshal in interface Converter


Joe Walnes, http://xstream.codehaus.org/