pl.edu.agh.cast.resources.xml
Class VisualModelCachingFactoryConverter
java.lang.Object
pl.edu.agh.cast.resources.xml.VisualModelCachingFactoryConverter
- All Implemented Interfaces:
- com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
public class VisualModelCachingFactoryConverter
- extends java.lang.Object
- implements com.thoughtworks.xstream.converters.Converter
Custom converter for VisualModelCachingFactory class Marshal only Connection
set from relationToConnection map
- Author:
- kpietak
Method Summary |
boolean |
canConvert(java.lang.Class clazz)
|
void |
marshal(java.lang.Object value,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
com.thoughtworks.xstream.converters.MarshallingContext context)
|
java.lang.Object |
unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VisualModelCachingFactoryConverter
public VisualModelCachingFactoryConverter()
canConvert
public boolean canConvert(java.lang.Class clazz)
- Specified by:
canConvert
in interface com.thoughtworks.xstream.converters.ConverterMatcher
marshal
public void marshal(java.lang.Object value,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
com.thoughtworks.xstream.converters.MarshallingContext context)
- Specified by:
marshal
in interface com.thoughtworks.xstream.converters.Converter
unmarshal
public java.lang.Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context)
- Specified by:
unmarshal
in interface com.thoughtworks.xstream.converters.Converter
Copyright © 2007-2008 AGH University of Science and Technology. All Rights Reserved.