xsmeral.semnet.xstream
Class EntityDescConverter

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

public class EntityDescConverter
extends Object
implements Converter

Converter for EntityDescriptor.


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

EntityDescConverter

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