xsmeral.semnet.xstream
Class MappingConverter
java.lang.Object
xsmeral.semnet.xstream.MappingConverter
- All Implemented Interfaces:
- Converter, ConverterMatcher
public class MappingConverter
- extends Object
- implements Converter
Converter for Mapping
.
The marshalled file is sorted by entry keys.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappingConverter
public MappingConverter()
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