Class ContextXMLDataLoaderControllerActionIO
java.lang.Object
repast.simphony.scenario.AbstractControllerActionIO<T>
repast.simphony.scenario.DefaultControllerActionIO<ContextXMLDataLoaderAction>
repast.simphony.dataLoader.engine.ContextXMLDataLoaderControllerActionIO
- All Implemented Interfaces:
ControllerActionIO
public class ContextXMLDataLoaderControllerActionIO
extends DefaultControllerActionIO<ContextXMLDataLoaderAction>
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
-
ContextXMLDataLoaderControllerActionIO
public ContextXMLDataLoaderControllerActionIO()
-
-
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<ContextXMLDataLoaderAction>
- 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<ContextXMLDataLoaderAction>
- 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.
-