Abstract base class for reference resolvers. This class should not be instantiated directly,
instead a subclass should be created.
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 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
|
Copyright 2007-2010 Spring Actionscript.