Packageorg.spicefactory.lib.reflect.converter
Classpublic class StringConverter
InheritanceStringConverter Inheritance Object
Implements Converter

Converts String values.



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

Constructor Detail
StringConverter()Constructor
public function StringConverter()

Creates a new Converter instance.

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