Abstract base class for reference resolvers. This class should not be instantiated directly,
instead a subclass should be created.
protected var factory:IObjectFactory
Contains a reference to the implementation of IObjectFactory given to the constructor
public function AbstractReferenceResolver(factory:IObjectFactory)
Constructs AbstractReferenceResolver.
Parameters
| factory:IObjectFactory — The factory that uses this reference resolver
|
public function canResolve(property:Object):Boolean
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
|
Throws
| — This method should be implemented by a subclass
|
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
|
Throws
| — This method should be implemented by a subclass
|
Prana Framework 0.6 - 2008