org.apache.geronimo.kernel.config.xstream
Class GBeanDataConverter

java.lang.Object
  extended by org.apache.geronimo.kernel.config.xstream.GBeanDataConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher

public class GBeanDataConverter
extends Object
implements com.thoughtworks.xstream.converters.Converter

Version:
$Rev: 809078 $ $Date: 2009-08-29 08:51:12 +0800 (Sat, 29 Aug 2009) $

Constructor Summary
GBeanDataConverter(com.thoughtworks.xstream.mapper.Mapper mapper)
           
 
Method Summary
 boolean canConvert(Class clazz)
           
 void marshal(Object object, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext marshallingContext)
           
protected  GBeanInfoFactory newGBeanInfoFactory()
           
 void setBundle(org.osgi.framework.Bundle bundle)
           
 Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext unmarshallingContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GBeanDataConverter

public GBeanDataConverter(com.thoughtworks.xstream.mapper.Mapper mapper)
Method Detail

setBundle

public void setBundle(org.osgi.framework.Bundle bundle)

newGBeanInfoFactory

protected GBeanInfoFactory newGBeanInfoFactory()

canConvert

public boolean canConvert(Class clazz)
Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher

marshal

public void marshal(Object object,
                    com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
                    com.thoughtworks.xstream.converters.MarshallingContext marshallingContext)
Specified by:
marshal in interface com.thoughtworks.xstream.converters.Converter

unmarshal

public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
                        com.thoughtworks.xstream.converters.UnmarshallingContext unmarshallingContext)
Specified by:
unmarshal in interface com.thoughtworks.xstream.converters.Converter


Copyright © 2003-2013 The Apache Geronimo development community. All Rights Reserved.