Package repast.simphony.scenario
Class DefaultActionLoader<T extends ControllerAction>
java.lang.Object
repast.simphony.scenario.AbstractActionLoader
repast.simphony.scenario.ObjectActionLoader<T>
repast.simphony.scenario.DefaultActionLoader<T>
- All Implemented Interfaces:
ActionLoader
-
Field Summary
Fields inherited from class repast.simphony.scenario.ObjectActionLoader
actionRoot, dataClassFields inherited from class repast.simphony.scenario.AbstractActionLoader
contextID, file -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ControllerActioncreateAction(T data, Scenario scenario) protected ClassLoaderprotected voidprepare(com.thoughtworks.xstream.XStream xstream) Override this method if you need to prepare the XStream before using it.Methods inherited from class repast.simphony.scenario.ObjectActionLoader
performLoadMethods inherited from class repast.simphony.scenario.AbstractActionLoader
loadAction
-
Constructor Details
-
DefaultActionLoader
-
-
Method Details
-
prepare
protected void prepare(com.thoughtworks.xstream.XStream xstream) Override this method if you need to prepare the XStream before using it.- Overrides:
preparein classObjectActionLoader<T extends ControllerAction>- Parameters:
xstream- the XStream that will be used for reading in the descriptor
-
createAction
- Specified by:
createActionin classObjectActionLoader<T extends ControllerAction>
-
getClassLoader
- Specified by:
getClassLoaderin classObjectActionLoader<T extends ControllerAction>
-