String value = (String) parameterValues.get(name);
if (value == null) {
value = des.getParameterDefinition(name).getDefaultValue();
if (value == null || value.equals(PropertyDefinition.UNDEFINED_PARAMETER)) {
throw new UndefinedParameterException("Parameter " + name + " is undefined");
}
}
p.setAttribute("value", replacer.replace(value));
}