*
*/
public class DoubleBinding extends BasicTypeBinding {
protected AbstractDescriptor createDescriptor(String value) {
DoubleDescriptor doubleDescriptor = new DoubleDescriptor();
Double doubleValue;
try {
doubleValue = new Double(value);
} catch (NumberFormatException e) {
throw new NumberFormatException("'"+value+"' cannot be parsed to a double");
}
doubleDescriptor.setValue(doubleValue);
return doubleDescriptor;
}