Packageorg.springextensions.actionscript.ioc.factory.impl.referenceresolver
Classpublic class DictionaryReferenceResolver
InheritanceDictionaryReferenceResolver Inheritance AbstractReferenceResolver Inheritance Object

Resolves references in a dictionary.

Authors: Christophe Herreman, Erik Westra Version: $Revision: 21 $, $Date: 2008-11-01 22:58:42 +0100 (za, 01 nov 2008) $, $Author: dmurat $ Since: 0.1



Protected Properties
 PropertyDefined By
 Inheritedfactory : IObjectFactory
Contains a reference to the implementation of IObjectFactory given to the constructor
AbstractReferenceResolver
Public Methods
 MethodDefined By
  
Constructs DictionaryReferenceResolver.
DictionaryReferenceResolver
  
canResolve(property:Object):Boolean
[override] Checks if the object is a Dictionary or an Object Indicates if the given property can be resolved by this reference resolver
DictionaryReferenceResolver
  
resolve(property:Object):Object
[override] Resolves all references of IObjectReference contained within the given property.
DictionaryReferenceResolver
Constructor Detail
DictionaryReferenceResolver()Constructor
public function DictionaryReferenceResolver(factory:IObjectFactory)

Constructs DictionaryReferenceResolver.

Parameters
factory:IObjectFactory — The factory that uses this reference resolver
Method Detail
canResolve()method
override public function canResolve(property:Object):Boolean

Checks if the object is a Dictionary or an Object

Indicates if the given property can be resolved by this reference resolver

Parameters

property:Object — The property to check

Returns
Boolean — true if this reference resolver can process the given property
resolve()method 
override public function resolve(property:Object):Object

Resolves all references of IObjectReference contained within the given property.

Parameters

property:Object — The property to resolve

Returns
Object — The property with all references resolved