Packageorg.spicefactory.parsley.flex
Classpublic class FlexConfig
InheritanceFlexConfig Inheritance Object

Static entry point methods for creating MXML configuration processors to be added to a ContextBuilder.

Example:

                  ContextBuilder
     .newInstance()
     .config(FlexConfig.forClass(MyConfig))
     .build();
               

For details on MXML configuration see 3.2 MXML Configuration in the Parsley Manual.



Public Methods
 MethodDefined By
  
forClass(configClass:Class):ConfigurationProcessor
[static] Creates a processor for the specified MXML configuration class.
FlexConfig
  
[static] Creates a processor for the specified MXML configuration classes.
FlexConfig
Method Detail
forClass()method
public static function forClass(configClass:Class):ConfigurationProcessor

Creates a processor for the specified MXML configuration class.

Parameters

configClass:Class — the class that contains the MXML configuration

Returns
ConfigurationProcessor — a new configuration processor instance which can be added to a ContextBuilder
forClasses()method 
public static function forClasses(... configClasses):ConfigurationProcessor

Creates a processor for the specified MXML configuration classes.

Parameters

... configClasses — the classes that contain the MXML configuration

Returns
ConfigurationProcessor — a new configuration processor instance which can be added to a ContextBuilder