Packagemx.rpc.xml
Classpublic class SimpleXMLDecoder
InheritanceSimpleXMLDecoder Inheritance Object

The SimpleXMLDecoder class deserialize XML into a graph of ActionScript objects. Use this class when no schema information is available.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
  
Converts a tree of XMLNodes into a tree of ActionScript Objects.
SimpleXMLDecoder
  
[static]
SimpleXMLDecoder
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
  
[static] Converts an ActionScript object into a Number, Boolean, or String.
SimpleXMLDecoder
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Method Detail
decodeXML()method
public function decodeXML(dataNode:XMLNode):Object

Converts a tree of XMLNodes into a tree of ActionScript Objects.

Parameters

dataNode:XMLNode

Returns
Object
getLocalName()method 
public static function getLocalName(xmlNode:XMLNode):String

Parameters

xmlNode:XMLNode

Returns
String
simpleType()method 
public static function simpleType(val:Object):Object

Converts an ActionScript object into a Number, Boolean, or String.

Parameters

val:Object

Returns
Object