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
public class DefaultActionLoader<T extends ControllerAction> extends ObjectActionLoader<T>
-
-
Field Summary
-
Fields inherited from class repast.simphony.scenario.ObjectActionLoader
actionRoot, dataClass
-
Fields inherited from class repast.simphony.scenario.AbstractActionLoader
contextID, file
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ControllerAction
createAction(T data, Scenario scenario)
protected ClassLoader
getClassLoader()
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
-
-
-
-
Method Detail
-
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
protected ControllerAction createAction(T data, Scenario scenario)
- Specified by:
createAction
in classObjectActionLoader<T extends ControllerAction>
-
getClassLoader
protected ClassLoader getClassLoader()
- Specified by:
getClassLoader
in classObjectActionLoader<T extends ControllerAction>
-
-