public class MyCustomNumberEditor
extends org.springframework.beans.propertyeditors.CustomNumberEditor
| Constructor and Description |
|---|
MyCustomNumberEditor(java.lang.Class<? extends java.lang.Number> numberClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
setAsText(java.lang.String text)
Parse the Number from the given text, using the specified NumberFormat.
|
getAsText, setValuepublic MyCustomNumberEditor(java.lang.Class<? extends java.lang.Number> numberClass)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic void setAsText(java.lang.String text)
throws java.lang.IllegalArgumentException
setAsText in interface java.beans.PropertyEditorsetAsText in class org.springframework.beans.propertyeditors.CustomNumberEditorjava.lang.IllegalArgumentException