包 | 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, 11:04 AM Z