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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the Parameters produced by this SweeperProducer.Gets the ParameterTreeSweeper produced by this SweeperProducer.void
init
(ControllerRegistry registry, Object masterContextId) Initializes the producer with the controller registry and master context id.protected void
parse()
-
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:
init
in interfaceSweeperProducer
- Parameters:
registry
-masterContextId
-
-
getParameters
Gets the Parameters produced by this SweeperProducer.- Specified by:
getParameters
in interfaceSweeperProducer
- Returns:
- the ParameterTreeSweeper produced by this SweeperProducer.
- Throws:
IOException
-
parse
- Throws:
IOException
-
getParameterSweeper
Gets the ParameterTreeSweeper produced by this SweeperProducer.- Specified by:
getParameterSweeper
in interfaceSweeperProducer
- Returns:
- the ParameterTreeSweeper produced by this SweeperProducer.
- Throws:
IOException
-