Package | ga.util |
Class | public class StateDeserializer |
Inheritance | StateDeserializer Object |
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtime Versions: | AIR 1.0, Flash Player 10 |
Public Properties
Public Methods
Method | Defined By | ||
---|---|---|---|
This is the exposed public method of this class which when given previously serialized state and a initialized modelRoot, it will fill the modelRoot
with the provided state. | StateDeserializer | ||
[static]
get child element for given the child root name
| StateDeserializer | ||
[static]
return the guide state element from the rootXML if it exists
| StateDeserializer | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Method Detail
deserialize | () | method |
public function deserialize(serializedState:XML, modelRoot:IValueObject, newInstance:Function):void
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtime Versions: | AIR 1.0, Flash Player 10 |
This is the exposed public method of this class which when given previously serialized state and a initialized modelRoot, it will fill the modelRoot with the provided state.
Parameters
serializedState:XML — - state previously serialized by the StateSerializer class
| |
modelRoot:IValueObject — - the top level value objects where all state is currently stored
| |
newInstance:Function — - function to use to create instances of objects given class names.
|
getChildElement | () | method |
public static function getChildElement(state:XML, property:String):XML
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtime Versions: | AIR 1.0, Flash Player 10 |
get child element for given the child root name
Parameters
state:XML — the state information
| |
property:String — the item to retrieve
|
XML — XML
|
getGuideState | () | method |
public static function getGuideState(rootXml:XML):XML
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtime Versions: | AIR 1.0, Flash Player 10 |
return the guide state element from the rootXML if it exists
Parameters
rootXml:XML — the source xml to search for guide state information in
|
XML — XML
|
Mon Nov 28 2011, 06:48 AM -08:00