public function ClassInfoConverter(requiredType:ClassInfo = null, domain:ApplicationDomain = null)
Creates a new Converter instance.
Parameters
| requiredType:ClassInfo (default = null) — converted ClassInfo instances must represent this type or a subtype
|
| |
| domain:ApplicationDomain (default = null) — the ApplicationDomain to load the class from
|
public function convert(value:*):*
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
|
Returns