| Package | org.juicekit.util.model |
| Class | public class ModelObject |
| Inheritance | ModelObject flash.events.EventDispatcher |
| Method | Defined by | ||
|---|---|---|---|
|
ModelObject(target:IEventDispatcher = null)
Constructor.
| ModelObject | ||
|
Returns a deep clone of the model object.
| ModelObject | ||
|
hasAttribute(xml:XML, name:String):Boolean
[static]
Helper function to determine whether an optional attribute is present
in an XML tree.
| ModelObject | ||
|
parse(xml:XML, context:* = null):void
Parse data from the
xml fragment and populate the
ModelObject instance properties. | ModelObject | ||
| ModelObject | () | constructor |
public function ModelObject(target:IEventDispatcher = null)Constructor.
Parameterstarget:IEventDispatcher (default = null) |
| clone | () | method |
| hasAttribute | () | method |
public static function hasAttribute(xml:XML, name:String):BooleanHelper function to determine whether an optional attribute is present in an XML tree.
Parametersxml:XML |
|
name:String |
Boolean |
| parse | () | method |
public function parse(xml:XML, context:* = null):void
Parse data from the xml fragment and populate the
ModelObject instance properties.
Note: This method mutates the receiving instance.
Parametersxml:XML |
|
context:* (default = null) |