Package repast.simphony.scenario
Class ObjectActionLoader<T>
java.lang.Object
repast.simphony.scenario.AbstractActionLoader
repast.simphony.scenario.ObjectActionLoader<T>
- All Implemented Interfaces:
ActionLoader
- Direct Known Subclasses:
DefaultActionLoader,DescriptorActionLoader
-
Field Summary
FieldsFields inherited from class repast.simphony.scenario.AbstractActionLoader
contextID, file -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ControllerActioncreateAction(T data, Scenario scenario) protected abstract ClassLoaderprotected voidperformLoad(Reader reader, com.thoughtworks.xstream.XStream xstream, Scenario scenario, ControllerRegistry registry) protected 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.AbstractActionLoader
loadAction
-
Field Details
-
dataClass
-
actionRoot
-
-
Constructor Details
-
ObjectActionLoader
-
-
Method Details
-
performLoad
protected void performLoad(Reader reader, com.thoughtworks.xstream.XStream xstream, Scenario scenario, ControllerRegistry registry) - Specified by:
performLoadin classAbstractActionLoader
-
prepare
protected void prepare(com.thoughtworks.xstream.XStream xstream) Override this method if you need to prepare the XStream before using it.- Parameters:
xstream- the XStream that will be used for reading in the descriptor
-
createAction
-
getClassLoader
-