repast.simphony.scenario
Class AbstractActionLoader

java.lang.Object
  extended by repast.simphony.scenario.AbstractActionLoader
All Implemented Interfaces:
ActionLoader
Direct Known Subclasses:
CNDataLoaderActionLoader, DFDataLoaderActionLoader, ObjectActionLoader, XMLDataLoaderActionLoader

public abstract class AbstractActionLoader
extends Object
implements ActionLoader

Version:
$Revision: 1.1 $ $Date: 2006/01/06 22:11:55 $
Author:
Nick Collier

Field Summary
protected  Object contextID
           
protected  File file
           
 
Constructor Summary
AbstractActionLoader(File file, Object contextID)
           
 
Method Summary
 void loadAction(com.thoughtworks.xstream.XStream xstream, Scenario scenario, ControllerRegistry registry)
           
protected abstract  void performLoad(Reader reader, com.thoughtworks.xstream.XStream xstream, Scenario scenario, ControllerRegistry registry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

file

protected File file

contextID

protected Object contextID
Constructor Detail

AbstractActionLoader

public AbstractActionLoader(File file,
                            Object contextID)
Method Detail

loadAction

public void loadAction(com.thoughtworks.xstream.XStream xstream,
                       Scenario scenario,
                       ControllerRegistry registry)
                throws FileNotFoundException
Specified by:
loadAction in interface ActionLoader
Throws:
FileNotFoundException

performLoad

protected abstract void performLoad(Reader reader,
                                    com.thoughtworks.xstream.XStream xstream,
                                    Scenario scenario,
                                    ControllerRegistry registry)