Abstract base class for the Property and Parameter class.
type:Class [read-only]
Returns the class of this Property or Parameter instance.
Implementation
public function get type():Class
public static function addConverter(type:Class, converter:Converter):void
Registers a Converter for the specified class.
Converters will be used for automatic type conversion when setting property values
with Spicelib Property instances or invoking methods with Spicelib Method instances.
Parameters
| type:Class — the class for which to register the Converter
|
| |
| converter:Converter — the Converter instance to be used for the specified type
|
public static function getConverter(type:Class):Converter
Returns the Converter registered for the specified class.
Parameters
| type:Class — the class for which to return the registered Converter
|
Returns
| Converter —
the Converter registered for the specified class or null if no Converter has been
registered for that class
|