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, dataClass
Fields inherited from class repast.simphony.scenario.AbstractActionLoader
contextID, file
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ControllerAction
createAction
(T data, Scenario scenario) protected ClassLoader
protected void
prepare
(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
performLoad
Methods 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:
prepare
in classObjectActionLoader<T extends ControllerAction>
- Parameters:
xstream
- the XStream that will be used for reading in the descriptor
-
createAction
- Specified by:
createAction
in classObjectActionLoader<T extends ControllerAction>
-
getClassLoader
- Specified by:
getClassLoader
in classObjectActionLoader<T extends ControllerAction>
-