371372373374375376377
} if (value instanceof SimpleString) { return Float.parseFloat(((SimpleString)value).toString()); } throw new PropertyConversionException("Invalid conversion: " + key); }
419420421422423424425
} else if (value instanceof Double) { return new SimpleString(value.toString()); } throw new PropertyConversionException("Invalid conversion"); }
611612613614615616617618619620
{ properties.putSimpleStringProperty(key, (SimpleString)value); } else { throw new PropertyConversionException(value.getClass() + " is not a valid property type"); } bufferValid = false; }
608609610611612613614615616617
177178179180181182183184
{ return Boolean.valueOf(((SimpleString)value).toString()).booleanValue(); } else { throw new PropertyConversionException("Invalid conversion"); } }
198199200201202203204205
{ return Byte.parseByte(((SimpleString)value).toString()); } else { throw new PropertyConversionException("Invalid conversion"); } }
216217218219220221222223
{ return ((Character)value).charValue(); } else { throw new PropertyConversionException("Invalid conversion"); } }
233234235236237238239240
{ return (byte[])value; } else { throw new PropertyConversionException("Invalid conversion"); } }
258259260261262263264265
{ return Double.parseDouble(((SimpleString)value).toString()); } else { throw new PropertyConversionException("Invalid conversion"); } }
287288289290291292293294
{ return Integer.parseInt(((SimpleString)value).toString()); } else { throw new PropertyConversionException("Invalid conversion"); } }