Class MIContextXMLDataLoaderControllerActionIO
java.lang.Object
repast.simphony.scenario.AbstractControllerActionIO<T>
repast.simphony.scenario.DefaultControllerActionIO<MIContextXMLDataLoaderAction>
repast.simphony.dataLoader.engine.MIContextXMLDataLoaderControllerActionIO
- All Implemented Interfaces:
ControllerActionIO
public class MIContextXMLDataLoaderControllerActionIO
extends DefaultControllerActionIO<MIContextXMLDataLoaderAction>
A ControllerActionIO for loading / saving ScoreDataLoaderActions
- Author:
- Nick Collier
-
Field Summary
Fields inherited from class repast.simphony.scenario.AbstractControllerActionIO
actionClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetActionLoader(File actionFile, Object contextID) Gets the ActionLoader used to load the saved action.Gets the ActionSaver used to save the ControllerAction.Methods inherited from class repast.simphony.scenario.AbstractControllerActionIO
getActionClass, getSerializationID
-
Constructor Details
-
MIContextXMLDataLoaderControllerActionIO
public MIContextXMLDataLoaderControllerActionIO()
-
-
Method Details
-
getActionSaver
Description copied from interface:ControllerActionIOGets the ActionSaver used to save the ControllerAction.- Specified by:
getActionSaverin interfaceControllerActionIO- Overrides:
getActionSaverin classDefaultControllerActionIO<MIContextXMLDataLoaderAction>- Returns:
- the ActionSaver used to save the ControllerAction.
-
getActionLoader
Description copied from interface:ControllerActionIOGets the ActionLoader used to load the saved action.- Specified by:
getActionLoaderin interfaceControllerActionIO- Overrides:
getActionLoaderin classDefaultControllerActionIO<MIContextXMLDataLoaderAction>- Parameters:
actionFile- the File containing the serialized datacontextID- the context the context to load the action into- Returns:
- the ActionLoader used to load the saved action.
-