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

java.lang.Object
  extended by org.globus.cog.karajan.util.serialization.AbstractElementMarshallingPolicy
All Implemented Interfaces:
ElementMarshallingPolicy
Direct Known Subclasses:
RemoteElementMarshallingPolicy, SourceElementMarshallingPolicy, StateElementMarshallingPolicy

public abstract class AbstractElementMarshallingPolicy
extends Object
implements ElementMarshallingPolicy


Constructor Summary
AbstractElementMarshallingPolicy()
           
AbstractElementMarshallingPolicy(KarajanSerializationContext kcontext)
           
 
Method Summary
 KarajanSerializationContext getKContext()
           
 void setKContext(KarajanSerializationContext kcontext)
           
protected  void writeChildren(FlowElement node, com.thoughtworks.xstream.io.HierarchicalStreamWriter wr, com.thoughtworks.xstream.converters.MarshallingContext context)
           
protected  void writeNode(FlowElement node, com.thoughtworks.xstream.io.HierarchicalStreamWriter wr, com.thoughtworks.xstream.converters.MarshallingContext context)
           
protected  void writeProperties(FlowElement node, com.thoughtworks.xstream.io.HierarchicalStreamWriter wr, com.thoughtworks.xstream.converters.MarshallingContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.globus.cog.karajan.util.serialization.ElementMarshallingPolicy
marshal
 

Constructor Detail

AbstractElementMarshallingPolicy

public AbstractElementMarshallingPolicy()

AbstractElementMarshallingPolicy

public AbstractElementMarshallingPolicy(KarajanSerializationContext kcontext)
Method Detail

getKContext

public KarajanSerializationContext getKContext()

setKContext

public void setKContext(KarajanSerializationContext kcontext)
Specified by:
setKContext in interface ElementMarshallingPolicy

writeProperties

protected void writeProperties(FlowElement node,
                               com.thoughtworks.xstream.io.HierarchicalStreamWriter wr,
                               com.thoughtworks.xstream.converters.MarshallingContext context)

writeChildren

protected void writeChildren(FlowElement node,
                             com.thoughtworks.xstream.io.HierarchicalStreamWriter wr,
                             com.thoughtworks.xstream.converters.MarshallingContext context)

writeNode

protected void writeNode(FlowElement node,
                         com.thoughtworks.xstream.io.HierarchicalStreamWriter wr,
                         com.thoughtworks.xstream.converters.MarshallingContext context)