| Package | org.pranaframework.objects |
| Class | public class SimpleTypeConverter |
| Inheritance | SimpleTypeConverter PropertyEditorRegistrySupport |
| Implements | ITypeConverter |
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new SimpleTypeConverter
| SimpleTypeConverter | ||
|
convertIfNecessary(value:*, requiredType:Class = null):*
Convert the given value to the required type.
| SimpleTypeConverter | ||
![]() |
findCustomEditor(requiredType:Class):IPropertyEditor
Finds a property editor that was registered against the given type.
| PropertyEditorRegistrySupport | |
![]() |
registerCustomEditor(requiredType:Class, propertyEditor:IPropertyEditor):void
Registers the given property editor for the given type.
| PropertyEditorRegistrySupport | |
| SimpleTypeConverter | () | constructor |
public function SimpleTypeConverter()Creates a new SimpleTypeConverter
| convertIfNecessary | () | method |
public function convertIfNecessary(value:*, requiredType:Class = null):*Convert the given value to the required type.
Parametersvalue:* — the value to convert
|
|
requiredType:Class (default = null) — the type to convert to
|
* |