com.thoughtworks.xstream.converters.extended
Class JavaMethodConverter

java.lang.Object
  extended bycom.thoughtworks.xstream.converters.extended.JavaMethodConverter
All Implemented Interfaces:
Converter

public class JavaMethodConverter
extends java.lang.Object
implements Converter

Author:
Aslak Hellesøy

Constructor Summary
JavaMethodConverter()
           
JavaMethodConverter(java.lang.ClassLoader classLoader)
           
 
Method Summary
 boolean canConvert(java.lang.Class type)
           
 void marshal(java.lang.Object source, HierarchicalStreamWriter writer, MarshallingContext context)
           
 java.lang.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

JavaMethodConverter

public JavaMethodConverter()

JavaMethodConverter

public JavaMethodConverter(java.lang.ClassLoader classLoader)
Method Detail

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/