Package repast.simphony.parameter.xml
Class AbstractXMLSweeperProducer
java.lang.Object
repast.simphony.parameter.xml.AbstractXMLSweeperProducer
- All Implemented Interfaces:
SweeperProducer
- Direct Known Subclasses:
OptimizedXMLSweeperProducer,XMLSweeperProducer
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the Parameters produced by this SweeperProducer.Gets the ParameterTreeSweeper produced by this SweeperProducer.voidinit(ControllerRegistry registry, Object masterContextId) Initializes the producer with the controller registry and master context id.protected voidparse()
-
Field Details
-
parser
-
sweeper
-
params
-
-
Constructor Details
-
AbstractXMLSweeperProducer
public AbstractXMLSweeperProducer()
-
-
Method Details
-
init
Initializes the producer with the controller registry and master context id. This will set the parser and the sweeper back to null.- Specified by:
initin interfaceSweeperProducer- Parameters:
registry-masterContextId-
-
getParameters
Gets the Parameters produced by this SweeperProducer.- Specified by:
getParametersin interfaceSweeperProducer- Returns:
- the ParameterTreeSweeper produced by this SweeperProducer.
- Throws:
IOException
-
parse
- Throws:
IOException
-
getParameterSweeper
Gets the ParameterTreeSweeper produced by this SweeperProducer.- Specified by:
getParameterSweeperin interfaceSweeperProducer- Returns:
- the ParameterTreeSweeper produced by this SweeperProducer.
- Throws:
IOException
-