Language Version : ActionScript 3.0
Runtime Versions : Flash Player 9, AIR 1.1
QualifiedResourceManager is a helper class that simply maintains
the order that resources were added and maps a target namespace to
one or more resources.
protected var resources:Array
Language Version : ActionScript 3.0
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.
protected var resourcesMap:Object
Language Version : ActionScript 3.0
Runtime Versions : Flash Player 9, AIR 1.1
Maps Namespace.uri
to an Array
of
resources.
public function QualifiedResourceManager()
Language Version : ActionScript 3.0
Runtime Versions : Flash Player 9, AIR 1.1
Constructor.
public function addResource(ns:Namespace, resource:Object):void
Language Version : ActionScript 3.0
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.
public function getResources():Array
Language Version : ActionScript 3.0
Runtime Versions : Flash Player 9, AIR 1.1
Gets an Array of all resources.
Returns Array
— An Array of resources.
public function getResourcesForNamespace(ns:Namespace):Array
Language Version : ActionScript 3.0
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.
Returns Array
— An Array of resources.
public function getResourcesForURI(uri:String):Array
Language Version : ActionScript 3.0
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.
Returns Array
— An Array of resources.
The Apache Software Foundation Wed Mar 25 2015, 07:57 PM +01:00