套件 | ga.util |
類別 | public class StateDeserializer |
繼承 | StateDeserializer Object |
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
執行階段版本: | 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. | StateDeserializer | ||
[靜態]
get child element for given the child root name
| StateDeserializer | ||
[靜態]
return the guide state element from the rootXML if it exists
| StateDeserializer | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object |
方法詳細資訊
deserialize | () | 方法 |
public function deserialize(serializedState:XML, modelRoot:IValueObject, newInstance:Function):void
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
執行階段版本: | 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.
參數
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 | () | 方法 |
public static function getChildElement(state:XML, property:String):XML
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
執行階段版本: | AIR 1.0, Flash Player 10 |
get child element for given the child root name
參數
state:XML — the state information
| |
property:String — the item to retrieve
|
XML — XML
|
getGuideState | () | 方法 |
public static function getGuideState(rootXml:XML):XML
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
執行階段版本: | AIR 1.0, Flash Player 10 |
return the guide state element from the rootXML if it exists
參數
rootXml:XML — the source xml to search for guide state information in
|
XML — XML
|
Tue Jun 12 2018, 03:47 PM Z