open class ByteArrayPropertyEditor : PropertyEditorSupport
Editor for byte arrays. Strings will simply be converted to their corresponding byte representations. |
|
open class CharArrayPropertyEditor : PropertyEditorSupport
Editor for char arrays. Strings will simply be converted to their corresponding char representations. |
|
open class CharacterEditor : PropertyEditorSupport
Editor for a Character, to populate a property of type Note that the JDK does not contain a default java.beans.PropertyEditor for Also supports conversion from a Unicode character sequence; e.g. |
|
open class CharsetEditor : PropertyEditorSupport
Editor for Expects the same syntax as Charset's |
|
open class ClassArrayEditor : PropertyEditorSupport
Property editor for an array of Class, to enable the direct population of a Also supports "java.lang.String[]"-style array class names, in contrast to the standard |
|
open class ClassEditor : PropertyEditorSupport
Property editor for Class, to enable the direct population of a Also supports "java.lang.String[]"-style array class names, in contrast to the standard |
|
open class CurrencyEditor : PropertyEditorSupport
Editor for |
|
open class CustomBooleanEditor : PropertyEditorSupport
Property editor for Boolean/boolean properties. This is not meant to be used as system PropertyEditor but rather as locale-specific Boolean editor within custom controller code, to parse UI-caused boolean strings into boolean properties of beans and check them in the UI form. In web MVC code, this editor will typically be registered with |
|
open class CustomCollectionEditor : PropertyEditorSupport
Property editor for Collections, converting any source Collection to a given target Collection type. By default registered for Set, SortedSet and List, to automatically convert any given Collection to one of those target types if the type does not match the target property. |
|
open class CustomDateEditor : PropertyEditorSupport
Property editor for This is not meant to be used as system PropertyEditor but rather as locale-specific date editor within custom controller code, parsing user-entered number strings into Date properties of beans and rendering them in the UI form. In web MVC code, this editor will typically be registered with |
|
open class CustomMapEditor : PropertyEditorSupport
Property editor for Maps, converting any source Map to a given target Map type. |
|
open class CustomNumberEditor : PropertyEditorSupport
Property editor for any Number subclass such as Short, Integer, Long, BigInteger, Float, Double, BigDecimal. Can use a given NumberFormat for (locale-specific) parsing and rendering, or alternatively the default This is not meant to be used as system PropertyEditor but rather as locale-specific number editor within custom controller code, parsing user-entered number strings into Number properties of beans and rendering them in the UI form. In web MVC code, this editor will typically be registered with |
|
open class FileEditor : PropertyEditorSupport
Editor for Supports Spring-style URL notation: any fully qualified standard URL ("file:", "http:", etc) and Spring's special "classpath:" pseudo-URL. NOTE: The behavior of this editor has changed in Spring 2.0. Previously, it created a File instance directly from a filename. As of Spring 2.0, it takes a standard Spring resource location as input; this is consistent with URLEditor and InputStreamEditor now. NOTE: In Spring 2.5 the following modification was made. If a file name is specified without a URL prefix or without an absolute path then we try to locate the file using standard ResourceLoader semantics. If the file was not found, then a File instance is created assuming the file name refers to a relative file location. |
|
open class InputSourceEditor : PropertyEditorSupport
Editor for Supports Spring-style URL notation: any fully qualified standard URL ("file:", "http:", etc) and Spring's special "classpath:" pseudo-URL. |
|
open class InputStreamEditor : PropertyEditorSupport
One-way PropertyEditor which can convert from a text String to a Supports Spring-style URL notation: any fully qualified standard URL ("file:", "http:", etc.) and Spring's special "classpath:" pseudo-URL. Note that such streams usually do not get closed by Spring itself! |
|
open class LocaleEditor : PropertyEditorSupport
Editor for Expects the same syntax as Locale's |
|
open class PathEditor : PropertyEditorSupport
Editor for Based on |
|
open class PatternEditor : PropertyEditorSupport
Editor for |
|
open class ReaderEditor : PropertyEditorSupport
One-way PropertyEditor which can convert from a text String to a Supports Spring-style URL notation: any fully qualified standard URL ("file:", "http:", etc.) and Spring's special "classpath:" pseudo-URL. Note that such readers usually do not get closed by Spring itself! |
|
open class ResourceBundleEditor : PropertyEditorSupport
java.beans.PropertyEditor implementation for standard JDK java.util.ResourceBundle. Only supports conversion from a String, but not to a String. Find below some examples of using this class in a (properly configured) Spring container using XML-based metadata:
A 'properly configured' Spring org.springframework.context.ApplicationContext might contain a org.springframework.beans.factory.config.CustomEditorConfigurer definition such that the conversion can be effected transparently:
Please note that this java.beans.PropertyEditor is not registered by default with any of the Spring infrastructure. Thanks to David Leal Valmana for the suggestion and initial prototype. |
|
open class StringArrayPropertyEditor : PropertyEditorSupport
Custom java.beans.PropertyEditor for String arrays. Strings must be in CSV format, with a customizable separator. By default values in the result are trimmed of whitespace. |
|
open class StringTrimmerEditor : PropertyEditorSupport
Property editor that trims Strings. Optionally allows transforming an empty string into a |
|
open class TimeZoneEditor : PropertyEditorSupport
Editor for |
|
open class URIEditor : PropertyEditorSupport
Editor for Supports Spring-style URI notation: any fully qualified standard URI ("file:", "http:", etc) and Spring's special "classpath:" pseudo-URL, which will be resolved to a corresponding URI. By default, this editor will encode Strings into URIs. For instance, a space will be encoded into Note: A URI is more relaxed than a URL in that it does not require a valid protocol to be specified. Any scheme within a valid URI syntax is allowed, even without a matching protocol handler being registered. |
|
open class URLEditor : PropertyEditorSupport
Editor for Supports Spring-style URL notation: any fully qualified standard URL ("file:", "http:", etc) and Spring's special "classpath:" pseudo-URL, as well as Spring's context-specific relative file paths. Note: A URL must specify a valid protocol, else it will be rejected upfront. However, the target resource does not necessarily have to exist at the time of URL creation; this depends on the specific resource type. |
|
open class UUIDEditor : PropertyEditorSupport
Editor for |
|
open class ZoneIdEditor : PropertyEditorSupport
Editor for |