A property reference stores the information necessary to lookup a property
on an entity.
These are used to facilitate retrieving information from entities without
requiring a specific interface to be implemented. For example, a component that
handles display information would need to retrieve spatial information from a
spatial component. The spatial component can store its information however it
sees fit. The display component would have a PropertyReference member that would
be initialized to the path of the desired property on the spatial component.
public var CachedLookup:Array
Property:String [read-write]
The path to the property that this references.
Implementation
public function get Property():String
public function set Property(value:String):void
public function PropertyReference(property:String = null)Parameters
| property:String (default = null) |
public function Deserialize(xml:XML):*
Deserializes the object from xml. The format of the xml passed is custom,
depending on the way the object was serialized with the Serialize method.
Parameters
| xml:XML — The xml containing the serialized definition of the class.
|
Returns
| * — The deserialized object. Usually 'this' should be returned, but in
some cases it may be useful to return something else. The Enumerable class
does this to force all values to be a member of the enumeration.
|
public function Serialize(xml:XML):void
Serializes the object to XML. This should not include the main tag
defining the class itself.
Parameters
| xml:XML — The xml object to which the serialization of this class should
be added. This xml object is a single tag containing the main class definition,
so only children of this class should be added to it.
|