Utility for fetching matching ObjectDefinitions from the Context for a particular target instance.
public static function findMatchingDefinition(config:ViewConfiguration, context:Context):DynamicObjectDefinition
Looks for an ObjectDefinition that matches for the specified view configuration.
Can be used by ViewProcessors and other objects in case the definition has not
been explicitly specified on the view configuration.
Parameters
| config:ViewConfiguration — the view configuration to find the matching definition for
|
|
| context:Context — the Context to use for looking up the definition
|
Returns | DynamicObjectDefinition — a definition matching the specified view configuration or null if no such definition exists
|
Mon Feb 6 2012, 01:04 AM +01:00