xsmeral.semnet.xstream
Class ConfigurationConverter

java.lang.Object
  extended by xsmeral.semnet.xstream.ConfigurationConverter
All Implemented Interfaces:
Converter, ConverterMatcher

public class ConfigurationConverter
extends Object
implements Converter

Converter for Configuration.


Constructor Summary
ConfigurationConverter()
           
 
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
 

Constructor Detail

ConfigurationConverter

public ConfigurationConverter()
Method Detail

marshal

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

unmarshal

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

canConvert

public boolean canConvert(Class type)
Specified by:
canConvert in interface ConverterMatcher