Package repast.simphony.xml
Class GridValueLayerConverter
java.lang.Object
repast.simphony.xml.AbstractConverter
repast.simphony.xml.GridValueLayerConverter
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter
,com.thoughtworks.xstream.converters.ConverterMatcher
XStream converter for GridValueLayers.
- Author:
- Nick Collier
-
Field Summary
Fields inherited from class repast.simphony.xml.AbstractConverter
classMap, xmlFile
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canConvert
(Class aClass) static void
void
marshal
(Object o, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext mContext) unmarshal
(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext umContext) Methods inherited from class repast.simphony.xml.AbstractConverter
arrayToString, arrayToString, getXmlFile, readNextObject, readNextString, setXmlFile, stringToDblArray, stringToIntArray, writeObject, writeString
-
Constructor Details
-
GridValueLayerConverter
public GridValueLayerConverter()
-
-
Method Details
-
canConvert
-
marshal
public void marshal(Object o, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext mContext) -
main
-
unmarshal
public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext umContext)
-