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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addParameter(ParametersCreator creator)
Adds the parameter to the specified creator based on the attributes added in init.ParameterSetter
createSetter()
Creates a parameter setter from the attributes added in init.void
init(Attributes attributes)
Initializes this ParameterSetterCreator with the specified attributes.
-
-
-
Method Detail
-
init
void init(Attributes attributes) throws ParameterFormatException
Initializes this ParameterSetterCreator with the specified attributes. Any following calls to addParameter or createSetter will use this attributes.- Parameters:
attributes
-- Throws:
ParameterFormatException
-
addParameter
void addParameter(ParametersCreator creator)
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.
-
-