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

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

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


Constructor Summary
AbstractKarajanConverter(KarajanSerializationContext kcontext)
           
 
Method Summary
 KarajanSerializationContext getKContext()
           
 void marshalObject(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, String tag, boolean value)
           
 void marshalObject(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, String tag, int value)
           
 void marshalObject(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, String tag, Object value)
           
 void marshalObjectCls(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, String tag, Object value)
           
 Object unmarshalObject(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
           
 Object unmarshalObject(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()

marshalObject

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

marshalObjectCls

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

marshalObject

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

marshalObject

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

unmarshalObject

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

unmarshalObject

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