ga.util

# StateSerializer - AS3 ADEP Guides

Package | ga.util
Class | public class StateSerializer
Inheritance | StateSerializer Object

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Document Services - Guides 9

Runtime Versions: | AIR 1.0, Flash Player 10

Class to deserialize the state of the guide application including Inputs, SelectionLists and additional data objects

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | constructor : Object A reference to the class object or constructor function for a given object instance. | Object

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | StateSerializer() Class to deserialize the state of the guide application including Inputs, SelectionLists and additional data objects | StateSerializer
|  | hasOwnProperty(name:String):Boolean Indicates whether an object has a specified property defined. | Object
|  | isPrototypeOf(theClass:Object):Boolean Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter. | Object
|  | propertyIsEnumerable(name:String):Boolean Indicates whether the specified property exists and is enumerable. | Object
|  | serialize(root:Object):XML This class when given the root value object of the guide application model will serialize the state as an XML document | StateSerializer
|  | setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void Sets the availability of a dynamic property for loop operations. | Object
|  | toLocaleString():String Returns the string representation of this object, formatted according to locale-specific conventions. | Object
|  | toString():String Returns the string representation of the specified object. | Object
|  | valueOf():Object Returns the primitive value of the specified object. | Object

Public Constants

| Constant | Defined By
--- | --- | ---
|  | STATE_ROOT_NAME : String = "_GUIDESTATE_" [static] Constant definining the element root name for the guide state information | StateSerializer

Constructor Detail

### StateSerializer

()
Constructor

`public function StateSerializer()`

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Document Services - Guides 9

Runtime Versions: | AIR 1.0, Flash Player 10

Class to deserialize the state of the guide application including Inputs, SelectionLists and additional data objects

Method Detail

### serialize

()
method

`public function serialize(root:Object):XML`

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Document Services - Guides 9

Runtime Versions: | AIR 1.0, Flash Player 10

This class when given the root value object of the guide application model will serialize the state as an XML document

Parameters

| `root:Object` — the root value object of the guide application model.

Returns

| `XML` — XML

Constant Detail

### STATE_ROOT_NAME

Constant

`public static const STATE_ROOT_NAME:String = "_GUIDESTATE_"`

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Document Services - Guides 9

Runtime Versions: | AIR 1.0, Flash Player 10

Constant definining the element root name for the guide state information

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00