Package repast.simphony.parameter.xml
Interface ParameterSetterCreator
- All Known Implementing Classes:
AbstractNumberSetterCreator
,AbstractParameterSetterCreator
,ConstantBooleanSetterCreator
,ConstantNumberSetterCreator
,ConstantObjectSetterCreator
,ConstantStringSetterCreator
,ListSetterCreator
,NumberSetterCreator
,ObjectListSetterCreator
public interface ParameterSetterCreator
Interface for classes that create ParameterSetters from
xml attribute data.
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addParameter
(ParametersCreator creator) Adds the parameter to the specified creator based on the attributes added in init.Creates a parameter setter from the attributes added in init.void
init
(Attributes attributes) Initializes this ParameterSetterCreator with the specified attributes.
-
Method Details
-
init
Initializes this ParameterSetterCreator with the specified attributes. Any following calls to addParameter or createSetter will use this attributes.- Parameters:
attributes
-- Throws:
ParameterFormatException
-
addParameter
Adds the parameter to the specified creator based on the attributes added in init.- Parameters:
creator
-
-
createSetter
ParameterSetter createSetter()Creates a parameter setter from the attributes added in init.- Returns:
- a parameter setter from the attributes added in init.
-