com.thoughtworks.xstream.converters.reflection
Class ReflectionConverter
java.lang.Object
com.thoughtworks.xstream.converters.reflection.ReflectionConverter
- All Implemented Interfaces:
- Converter
- public class ReflectionConverter
- extends java.lang.Object
- implements Converter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReflectionConverter
public ReflectionConverter(ClassMapper classMapper,
java.lang.String classAttributeIdentifier,
ReflectionProvider reflectionProvider)
canConvert
public boolean canConvert(java.lang.Class type)
- Specified by:
canConvert
in interface Converter
marshal
public void marshal(java.lang.Object source,
HierarchicalStreamWriter writer,
MarshallingContext context)
- Specified by:
marshal
in interface Converter
unmarshal
public java.lang.Object unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context)
- Specified by:
unmarshal
in interface Converter
Joe Walnes, http://xstream.codehaus.org/