Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
IMXMLDocument

Package | org.apache.flex.core
Interface | public interface IMXMLDocument
Implementors | ContainerBase

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The IMXMLDocument interface is an interface for a component that supports being written in MXML.

Public Properties

| Property | Defined By
--- | --- | ---
|  | MXMLDescriptor : Array [read-only] An array of data that describes the MXML attributes and tags in an MXML document. | IMXMLDocument

Public Methods

| Method | Defined By
--- | --- | ---
|  | generateMXMLAttributes(data:Array):void An method called by the compiler's generated code to kick off the setting of MXML attribute values and instantiation of child tags. | IMXMLDocument
|  | setMXMLDescriptor(document:Object, value:Array):void Set the descriptor for this MXML component | IMXMLDocument

Property Detail

MXMLDescriptor | property

`MXMLDescriptor:Array` [read-only]

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

An array of data that describes the MXML attributes and tags in an MXML document. This data is usually decoded by an MXMLDataInterpreter

Implementation
`public function get MXMLDescriptor():Array`
Method Detail

generateMXMLAttributes | () | method

`public function generateMXMLAttributes(data:Array):void`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

An method called by the compiler's generated code to kick off the setting of MXML attribute values and instantiation of child tags. The call has to be made in the generated code in order to ensure that the constructors have completed first.

Parameters

| `data:Array` — The encoded data representing the MXML attributes.

setMXMLDescriptor | () | method |

`public function setMXMLDescriptor(document:Object, value:Array):void`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Set the descriptor for this MXML component

Parameters

| `document:Object` — The MXML document.
| `value:Array` — The descriptor.

Mon Sep 5 2016, 07:19 AM -07:00