.getElementName());
if (type.equals(DoubleParameter.class.getSimpleName())) {
currentParameter = new DoubleParameter(name, null);
} else if (type.equals(StringParameter.class.getSimpleName())) {
currentParameter = new StringParameter(name, null);
} else if (type.equals(ComboParameter.class.getSimpleName())) {
currentParameter = new ComboParameter<String>(name, null,
new String[0]);
} else {
throw new SAXException("Unknown parameter type: " + type);