findCustomEditor(java.lang.Class requiredType,
java.lang.String propertyPath)
Find a custom property editor for the given type and property.

java.beans.PropertyEditor

getDefaultEditor(java.lang.Class requiredType)
Retrieve the default editor for the given property type, if any.

protected java.lang.Class

getPropertyType(java.lang.String propertyPath)
Determine the property type for the given property path.

protected java.lang.Class

guessPropertyTypeFromEditors(java.lang.String propertyName)
Guess the property type of the specified property from the registered
custom editors (provided that they were registered for a specific type).

isSharedEditor(java.beans.PropertyEditor propertyEditor)
Check whether the given editor instance is a shared editor, that is,
whether the given editor instance might be used concurrently.

void

registerCustomEditor(java.lang.Class requiredType,
java.beans.PropertyEditor propertyEditor)
Register the given custom property editor for all properties of the given type.

void

registerCustomEditor(java.lang.Class requiredType,
java.lang.String propertyPath,
java.beans.PropertyEditor propertyEditor)
Register the given custom property editor for the given type and
property, or for all properties of the given type.

registerSharedEditor(java.lang.Class requiredType,
java.beans.PropertyEditor propertyEditor)
Register the given custom property editor for all properties
of the given type, indicating that the given instance is a
shared editor that might be used concurrently.

registerCustomEditor

Register the given custom property editor for the given type and
property, or for all properties of the given type.

If the property path denotes an array or Collection property,
the editor will get applied either to the array/Collection itself
(the PropertyEditor has to create an array or Collection value) or
to each element (the PropertyEditor has to create the element type),
depending on the specified required type.

Note: Only one single registered custom editor per property path
is supported. In the case of a Collection/array, do not register an editor
for both the Collection/array and each element on the same property.

For example, if you wanted to register an editor for "items[n].quantity"
(for all values n), you would use "items.quantity" as the value of the
'propertyPath' argument to this method.

requiredType - the type of the property. This may be null
if a property is given but should be specified in any case, in particular in
case of a Collection - making clear whether the editor is supposed to apply
to the entire Collection itself or to each of its entries. So as a general rule:
Do not specify null here in case of a Collection/array!

propertyPath - the path of the property (name or nested path), or
null if registering an editor for all properties of the given type

copyCustomEditorsTo

Copy the custom editors registered in this instance to the given target registry.

Parameters:

target - the target registry to copy to

nestedProperty - the nested property path of the target registry, if any.
If this is non-null, only editors registered for a path below this nested property
will be copied. If this is null, all editors will be copied.