| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.beans.PropertyEditorSupport
|
+--org.springframework.beans.propertyeditors.StringTrimmerEditor
Property editor that trims Strings. Allows to transform an empty string into a null value. Needs to be explictly registered, e.g. for command binding.
| Constructor Summary | |
StringTrimmerEditor(boolean emptyAsNull)Create a new instance. | |
| Method Summary | |
void | setAsText(String text) |
| Methods inherited from class java.beans.PropertyEditorSupport |
firePropertyChange, isPaintable, supportsCustomEditor, getCustomEditor, addPropertyChangeListener, removePropertyChangeListener, getValue, setValue, getAsText, getJavaInitializationString, getTags, paintValue |
| Methods inherited from class java.lang.Object |
hashCode, notify, notifyAll, wait, wait, wait, getClass, equals, toString |
| Constructor Detail |
public StringTrimmerEditor(boolean emptyAsNull)
| Method Detail |
public void setAsText(String text)
throws java.lang.IllegalArgumentException
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||