setParameter
public void setParameter(String parameter,
String value)
Sets a parameter in the object. If the parameter has not been defined then
there is a fault in the document - likely it was not parsed prior to calling
setParameter, so the document was not instantiated.
If the parameter has been previously defined it is updated to reflect the
value specified.
- Specified by:
setParameter
in interface Describable
- Parameters:
parameter
- name of the parameter to set/add
value
- string value to associate with the parameter