Packageorg.spicefactory.lib.reflect.converter
Classpublic class NoOpConverter
InheritanceNoOpConverter Inheritance Object
Implements Converter

Converter that performs no action, useful for untyped method parameters or properties.



Public Properties
 PropertyDefined By
  INSTANCE : NoOpConverter
[static]
NoOpConverter
Public Methods
 MethodDefined By
  
convert(value:*, domain:ApplicationDomain = null):*
Converts the specified value to the target type this Converter is implemented for.
NoOpConverter
Property Detail
INSTANCEproperty
public static var INSTANCE:NoOpConverter

Method Detail
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)

Returns
* — the converted value