Package org.apache.xbean.propertyeditor
Class BigDecimalEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- org.apache.xbean.propertyeditor.AbstractConverter
-
- org.apache.xbean.propertyeditor.BigDecimalEditor
-
- All Implemented Interfaces:
java.beans.PropertyEditor
,Converter
public class BigDecimalEditor extends AbstractConverter
A property editor for BigDecimal typed properties.- Version:
- $Rev: 6680 $
-
-
Constructor Summary
Constructors Constructor Description BigDecimalEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
toObjectImpl(java.lang.String text)
Convert the text value of the property into a BigDecimal instance.-
Methods inherited from class org.apache.xbean.propertyeditor.AbstractConverter
getAsText, getType, getValue, setAsText, setValue, toObject, toString, toStringImpl
-
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
-
-
-
-
Method Detail
-
toObjectImpl
protected java.lang.Object toObjectImpl(java.lang.String text)
Convert the text value of the property into a BigDecimal instance.- Specified by:
toObjectImpl
in classAbstractConverter
- Parameters:
text
- the text to convert- Returns:
- a BigDecimal object constructed from the property text value.
-
-