(Preview)
Package | mx.rpc.xml |
Class | public class QualifiedResourceManager |
Inheritance | QualifiedResourceManager Object |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Public Properties
Protected Properties
Property | Defined By | ||
---|---|---|---|
resources : Array
This Array is used to preserve order in which resources were
added so as to support the order in which they are searched. | QualifiedResourceManager | ||
resourcesMap : Object
Maps Namespace.uri to an Array of
resources. | QualifiedResourceManager |
Public Methods
Method | Defined By | ||
---|---|---|---|
Constructor. | QualifiedResourceManager | ||
Adds a resource to a potential Array of resources for a
given namespace. | QualifiedResourceManager | ||
Gets an Array of all resources. | QualifiedResourceManager | ||
Returns an Array of resources for a given target namespace. | QualifiedResourceManager | ||
Returns an Array of resources for a given target URI. | QualifiedResourceManager | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Property Detail
resources | property |
protected var resources:Array
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
This Array is used to preserve order in which resources were added so as to support the order in which they are searched.
resourcesMap | property |
protected var resourcesMap:Object
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Maps Namespace.uri
to an Array
of
resources.
Constructor Detail
QualifiedResourceManager | () | Constructor |
public function QualifiedResourceManager()
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Constructor.
Method Detail
addResource | () | method |
public function addResource(ns:Namespace, resource:Object):void
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Adds a resource to a potential Array of resources for a given namespace.
Parameters
ns:Namespace — The namespace for the Array of resources.
| |
resource:Object — The resource to add.
|
getResources | () | method |
getResourcesForNamespace | () | method |
public function getResourcesForNamespace(ns:Namespace):Array
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Returns an Array of resources for a given target namespace.
Parameters
ns:Namespace — namespace for the Array of resources.
|
Array — An Array of resources.
|
getResourcesForURI | () | method |
public function getResourcesForURI(uri:String):Array
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Returns an Array of resources for a given target URI.
Parameters
uri:String — The URI for the Array of resources.
|
Array — An Array of resources.
|
Wed Nov 21 2018, 06:34 AM -08:00