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 Type
    Method
    Description
    void
    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

      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.