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

java.lang.Object
  extended byorg.globus.cog.karajan.util.serialization.AbstractKarajanConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter
Direct Known Subclasses:
CheckpointConverter, DecimalFormatConverter, ElementConverter, ErrorHandlerConverter, FutureVariableArgumentsConverter, FutureVariableArgumentsIteratorConverter, ListLoopIteratorConverter, ServiceConverter, SimpleDateFormatConverter, StackFrameConverter, ThreadingContextConverter

public abstract class AbstractKarajanConverter
extends Object
implements com.thoughtworks.xstream.converters.Converter


Constructor Summary
AbstractKarajanConverter(KarajanSerializationContext kcontext)
           
 
Method Summary
 KarajanSerializationContext getKContext()
           
 void marshallObject(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, String tag, boolean value)
           
 void marshallObject(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, String tag, int value)
           
 void marshallObject(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, String tag, Object value)
           
 void marshallObjectCls(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, String tag, Object value)
           
 Object unmarshallObject(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
           
 Object unmarshallObject(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context, Class cls, Object current)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.thoughtworks.xstream.converters.Converter
canConvert, marshal, unmarshal
 

Constructor Detail

AbstractKarajanConverter

public AbstractKarajanConverter(KarajanSerializationContext kcontext)
Method Detail

getKContext

public KarajanSerializationContext getKContext()

marshallObject

public void marshallObject(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
                           com.thoughtworks.xstream.converters.MarshallingContext context,
                           String tag,
                           Object value)

marshallObjectCls

public void marshallObjectCls(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
                              com.thoughtworks.xstream.converters.MarshallingContext context,
                              String tag,
                              Object value)

marshallObject

public void marshallObject(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
                           com.thoughtworks.xstream.converters.MarshallingContext context,
                           String tag,
                           int value)

marshallObject

public void marshallObject(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
                           com.thoughtworks.xstream.converters.MarshallingContext context,
                           String tag,
                           boolean value)

unmarshallObject

public Object unmarshallObject(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
                               com.thoughtworks.xstream.converters.UnmarshallingContext context,
                               Class cls,
                               Object current)

unmarshallObject

public Object unmarshallObject(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
                               com.thoughtworks.xstream.converters.UnmarshallingContext context)