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
-
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:ControllerActionIO
Gets the ActionSaver used to save the ControllerAction.- Specified by:
getActionSaver
in interfaceControllerActionIO
- Overrides:
getActionSaver
in classDefaultControllerActionIO<MIContextXMLDataLoaderAction>
- Returns:
- the ActionSaver used to save the ControllerAction.
-
getActionLoader
Description copied from interface:ControllerActionIO
Gets the ActionLoader used to load the saved action.- Specified by:
getActionLoader
in interfaceControllerActionIO
- Overrides:
getActionLoader
in 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.
-