套件 | mx.rpc.xml |
類別 | public class SchemaTypeRegistry |
繼承 | SchemaTypeRegistry Object |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
It is important to note that the desired Class must be linked into the SWF and possess a default constructor in order for the XMLDecoder to create a new instance of the type, otherwise an anonymous Object will be used to hold the decoded properties.
方法 | 定義自 | ||
---|---|---|---|
Looks for a registered Class for the given type. | SchemaTypeRegistry | ||
Returns the Class for the collection type represented by the given
Qname or String. | SchemaTypeRegistry | ||
[靜態]
Returns the sole instance of this singleton class, creating it if it
does not already exist. | SchemaTypeRegistry | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
Maps a type QName to a Class definition. | SchemaTypeRegistry | ||
Maps a type name to a collection Class. | SchemaTypeRegistry | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
Removes a Class from the registry for the given type. | SchemaTypeRegistry | ||
Removes a collection Class from the registry for the given type. | SchemaTypeRegistry | ||
會傳回指定之物件的基本值。 | Object |
getClass | () | 方法 |
public function getClass(type:Object):Class
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Looks for a registered Class for the given type.
參數
type:Object — The QName or String representing the type name.
|
Class — Returns the Class for the given type, or null of the type
has not been registered.
|
getCollectionClass | () | 方法 |
public function getCollectionClass(type:Object):Class
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns the Class for the collection type represented by the given Qname or String.
參數
type:Object — The QName or String representing the collection type name.
|
Class — Returns the Class for the collection type represented by
the given Qname or String.
|
getInstance | () | 方法 |
public static function getInstance():mx.rpc.xml:SchemaTypeRegistry
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns the sole instance of this singleton class, creating it if it does not already exist.
傳回值mx.rpc.xml:SchemaTypeRegistry — Returns the sole instance of this singleton class, creating it
if it does not already exist.
|
registerClass | () | 方法 |
public function registerClass(type:Object, definition:Object):void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Maps a type QName to a Class definition. The definition can be a String representation of the fully qualified class name or an instance of the Class itself.
參數
type:Object — The QName or String representation of the type name.
| |
definition:Object — The Class itself or class name as a String.
|
registerCollectionClass | () | 方法 |
public function registerCollectionClass(type:Object, definition:Object):void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Maps a type name to a collection Class. A collection is either the
top level Array type, or an implementation of mx.collections.IList
.
The definition can be a String representation of the fully qualified
class name or an instance of the Class itself.
參數
type:Object — The QName or String representation of the type name.
| |
definition:Object — The Class itself or class name as a String.
|
unregisterClass | () | 方法 |
unregisterCollectionClass | () | 方法 |
Tue Jun 12 2018, 03:47 PM Z