Packageorg.spicefactory.lib.expr.impl
Classpublic class DefaultPropertyResolver
InheritanceDefaultPropertyResolver Inheritance Object
Implements PropertyResolver

The default PropertyResolver implementation interpreting property names as names of "real" properties in the base object.



Public Methods
 MethodDefined By
  
resolveProperty(baseObject:Object, propertyName:String):*
Resolves the property with the specified name in the given base object.
DefaultPropertyResolver
Method Detail
resolveProperty()method
public function resolveProperty(baseObject:Object, propertyName:String):*

Resolves the property with the specified name in the given base object. The term "property" may be loosely interpreted and does not necessarily have to refer to a real property in the base object. If the property cannot be resolved this method should return undefined.

Parameters

baseObject:Object — the object to extract the property from
 
propertyName:String — the name of the property to resolve

Returns
* — the resolved property value or undefined if the variable cannot be resolved