Pakiet | mx.rpc.xml |
Klasa | public class SchemaTypeRegistry |
Dziedziczenie | SchemaTypeRegistry ![]() |
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | 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.
Metoda | Zdefiniowane przez | ||
---|---|---|---|
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 | ||
[statyczny]
Returns the sole instance of this singleton class, creating it if it
does not already exist. | SchemaTypeRegistry | ||
![]() |
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość. | Object | |
![]() |
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr. | Object | |
![]() |
Wskazuje, czy określona właściwość istnieje i jest przeliczalna. | Object | |
Maps a type QName to a Class definition. | SchemaTypeRegistry | ||
Maps a type name to a collection Class. | SchemaTypeRegistry | ||
![]() |
Ustawia dostępność właściwości dynamicznej używanej w pętlach. | Object | |
![]() |
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych. | Object | |
![]() |
Zwraca ciąg reprezentujący określony obiekt. | Object | |
Removes a Class from the registry for the given type. | SchemaTypeRegistry | ||
Removes a collection Class from the registry for the given type. | SchemaTypeRegistry | ||
![]() |
Zwraca pierwotną wartość dla określonego obiektu. | Object |
getClass | () | metoda |
public function getClass(type:Object):Class
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Looks for a registered Class for the given type.
Parametry
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 | () | metoda |
public function getCollectionClass(type:Object):Class
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Returns the Class for the collection type represented by the given Qname or String.
Parametry
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 | () | metoda |
public static function getInstance():mx.rpc.xml:SchemaTypeRegistry
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Returns the sole instance of this singleton class, creating it if it does not already exist.
Zwracamx.rpc.xml:SchemaTypeRegistry — Returns the sole instance of this singleton class, creating it
if it does not already exist.
|
registerClass | () | metoda |
public function registerClass(type:Object, definition:Object):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | 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.
Parametry
type:Object — The QName or String representation of the type name.
| |
definition:Object — The Class itself or class name as a String.
|
registerCollectionClass | () | metoda |
public function registerCollectionClass(type:Object, definition:Object):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | 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.
Parametry
type:Object — The QName or String representation of the type name.
| |
definition:Object — The Class itself or class name as a String.
|
unregisterClass | () | metoda |
unregisterCollectionClass | () | metoda |
public function unregisterCollectionClass(type:Object):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Removes a collection Class from the registry for the given type.
Parametry
type:Object — The QName or String representation of the collection type
name.
|
Tue Jun 12 2018, 12:06 PM Z