xsmeral.semnet.xstream
Class CrawlerConfigurationConverter

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

public class CrawlerConfigurationConverter
extends Object
implements Converter

Converter for CrawlerConfiguration.


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

CrawlerConfigurationConverter

public CrawlerConfigurationConverter()
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