org.globus.cog.karajan.util.serialization
Class RootlessConverter

java.lang.Object
  extended by org.globus.cog.karajan.util.serialization.AbstractKarajanConverter
      extended by org.globus.cog.karajan.util.serialization.ElementConverter
          extended by org.globus.cog.karajan.util.serialization.RootlessConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter

public class RootlessConverter
extends ElementConverter


Constructor Summary
RootlessConverter(KarajanSerializationContext kcontext, FlowElement parent)
           
 
Method Summary
 boolean canConvert(Class cls)
           
protected  FlowElement readChild(FlowElement node, com.thoughtworks.xstream.io.HierarchicalStreamReader rd, com.thoughtworks.xstream.converters.UnmarshallingContext context)
           
 Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader rd, com.thoughtworks.xstream.converters.UnmarshallingContext context)
           
 
Methods inherited from class org.globus.cog.karajan.util.serialization.ElementConverter
marshal, readChildren, setProperties
 
Methods inherited from class org.globus.cog.karajan.util.serialization.AbstractKarajanConverter
getKContext, marshalObject, marshalObject, marshalObject, marshalObjectCls, unmarshalObject, unmarshalObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RootlessConverter

public RootlessConverter(KarajanSerializationContext kcontext,
                         FlowElement parent)
Method Detail

canConvert

public boolean canConvert(Class cls)
Specified by:
canConvert in interface com.thoughtworks.xstream.converters.Converter
Overrides:
canConvert in class ElementConverter

unmarshal

public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader rd,
                        com.thoughtworks.xstream.converters.UnmarshallingContext context)
Specified by:
unmarshal in interface com.thoughtworks.xstream.converters.Converter
Overrides:
unmarshal in class ElementConverter

readChild

protected FlowElement readChild(FlowElement node,
                                com.thoughtworks.xstream.io.HierarchicalStreamReader rd,
                                com.thoughtworks.xstream.converters.UnmarshallingContext context)
Overrides:
readChild in class ElementConverter