Apache Flex 4.16.1 API Reference | All Packages | All Classes | Index | Frames No Frames |
IXMLSchemaInstance

Package | mx.rpc.xml
Interface | public interface IXMLSchemaInstance

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

An ActionScript type should implement this interface when it needs to instruct an XML Schema based encoder (such as the WebService SOAP client) which concrete type definition to use while encoding instances of the type.

Note that anonymous ActionScript objects can also specify a qualified type by wrapping an object in an instance of mx.utils.ObjectProxy and setting the `object_proxy::type` property with the appropriate QName.

See also

mx.utils.ObjectProxy

Public Properties

| Property | Defined By
--- | --- | ---
|  | xsiType : QName When encoding ActionScript instances as XML the encoder may require a type definition for the concrete implementation when the associated XML Schema complexType is abstract. | IXMLSchemaInstance

Property Detail

xsiType | property

`xsiType:QName`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

When encoding ActionScript instances as XML the encoder may require a type definition for the concrete implementation when the associated XML Schema complexType is abstract. This property allows a typed instance to specify the concrete implementation as a QName to represent the `xsi:type`.

Note that `[Transient]` metadata can be applied to implementations of this property to exclude it during object serialization.

Implementation
`public function get xsiType():QName`
`public function set xsiType(value:QName):void`

Wed Nov 15 2017, 09:50 AM +01:00