com.thoughtworks.xstream.converters.reflection
Class ReflectionConverter

java.lang.Object
  extended bycom.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
      extended bycom.thoughtworks.xstream.converters.reflection.ReflectionConverter
All Implemented Interfaces:
Converter, ConverterMatcher

public class ReflectionConverter
extends AbstractReflectionConverter


Nested Class Summary
 
Nested classes inherited from class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
AbstractReflectionConverter.DuplicateFieldException
 
Field Summary
 
Fields inherited from class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
mapper, reflectionProvider, serializationMethodInvoker
 
Constructor Summary
ReflectionConverter(Mapper mapper, ReflectionProvider reflectionProvider)
           
 
Method Summary
 boolean canConvert(java.lang.Class type)
          Determines whether the converter can marshall a particular type.
 
Methods inherited from class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
doMarshal, doUnmarshal, instantiateNewInstance, marshal, marshallField, unmarshal, unmarshallField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectionConverter

public ReflectionConverter(Mapper mapper,
                           ReflectionProvider reflectionProvider)
Method Detail

canConvert

public boolean canConvert(java.lang.Class type)
Description copied from interface: ConverterMatcher
Determines whether the converter can marshall a particular type.

Parameters:
type - the Class representing the object type to be converted


Joe Walnes, http://xstream.codehaus.org/