| java.lang.Object | ||
| ↳ | java.beans.PropertyEditorSupport | |
| ↳ | org.springframework.beans.propertyeditors.CharacterEditor | |
Editor for a java.lang.Character, to populate a property
of type Character or char from a String value.
Note that the JDK does not contain a default
property editor for char!
BeanWrapperImpl will register this
editor by default.
Also supports conversion from a Unicode character sequence; e.g.
u0041 ('A').
BeanWrapperImpl| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new CharacterEditor instance.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.beans.PropertyEditorSupport
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.beans.PropertyEditor
| |||||||||||
Create a new CharacterEditor instance.
The "allowEmpty" parameter controls whether an empty String is
to be allowed in parsing, i.e. be interpreted as the null
value when text is being converted. If
false, an IllegalArgumentException will be thrown
at that time.
| allowEmpty | if empty strings are to be allowed |
|---|