Package | org.spicefactory.lib.reflect.converter |
Class | public class NumberConverter |
Inheritance | NumberConverter Object |
Implements | Converter |
Property | Defined By | ||
---|---|---|---|
INSTANCE : NumberConverter [static] | NumberConverter |
Method | Defined By | ||
---|---|---|---|
Creates a new Converter instance. | NumberConverter | ||
convert(value:*, domain:ApplicationDomain = null):*
Converts the specified value to the target type this Converter is implemented for. | NumberConverter |
INSTANCE | property |
public static var INSTANCE:NumberConverter
NumberConverter | () | Constructor |
public function NumberConverter()
Creates a new Converter instance.
convert | () | method |
public function convert(value:*, domain:ApplicationDomain = null):*
Converts the specified value to the target type this Converter is implemented for. Implementations should return the value unchanged if it is already of the target type.
Parameters
value:* — the value to be converted
| |
domain:ApplicationDomain (default = null ) — the domain to use for reflection (only used by some converter implementations)
|
* — the converted value
|