| Package | org.spicefactory.lib.reflect.converter |
| Class | public class ClassInfoConverter |
| Inheritance | ClassInfoConverter Object |
| Implements | Converter |
| Method | Defined By | ||
|---|---|---|---|
ClassInfoConverter(requiredType:ClassInfo = null)
Creates a new Converter instance. | ClassInfoConverter | ||
convert(value:*, domain:ApplicationDomain = null):*
Converts the specified value to the target type this Converter is implemented for. | ClassInfoConverter | ||
| ClassInfoConverter | () | Constructor |
public function ClassInfoConverter(requiredType:ClassInfo = null)Creates a new Converter instance.
ParametersrequiredType:ClassInfo (default = null) — converted ClassInfo instances must represent this type or a subtype
|
| 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
|