Class SpaceConverter

java.lang.Object
repast.simphony.xml.AbstractConverter
repast.simphony.xml.SpaceConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher

public class SpaceConverter extends AbstractConverter
XStream converter for ContextSpace, the default continuous space type in simphony.
Author:
Nick Collier
  • Constructor Details

    • SpaceConverter

      public SpaceConverter()
  • Method Details

    • canConvert

      public boolean canConvert(Class aClass)
    • marshal

      public void marshal(Object o, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext mContext)
    • unmarshal

      public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext umContext)