Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.rpc.xml 
IXMLSchemaInstance 
Packagemx.rpc.xml
Interfacepublic 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



Public Properties
 PropertyDefined 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