Packagech.capi.net
Classpublic class CompositeMassLoaderRegisterer
InheritanceCompositeMassLoaderRegisterer Inheritance Object

Utility class to register the named ICompositeMassLoader instances.

See also

ICompositeMassLoader


Public Methods
 MethodDefined By
  
enumerateAll():Array
[static] Enumerates all the ICompositeMassLoader registered.
CompositeMassLoaderRegisterer
  
get(cmlName:String):ICompositeMassLoader
[static] Retrieves the specified ICompositeMassLoader.
CompositeMassLoaderRegisterer
  
[static] Registers the specified ICompositeMassLoader.
CompositeMassLoaderRegisterer
Method Detail
enumerateAll()method
public static function enumerateAll():Array

Enumerates all the ICompositeMassLoader registered.

Returns
Array — An Array containing the names of the registered ICompositeMassLoader.
get()method 
public static function get(cmlName:String):ICompositeMassLoader

Retrieves the specified ICompositeMassLoader.

Parameters

cmlName:String — The name of the ICompositeMassLoader.

Returns
ICompositeMassLoader — The ICompositeMassLoader or null if the specified name doesn't exist.
register()method 
public static function register(cml:ICompositeMassLoader):void

Registers the specified ICompositeMassLoader. It must be named otherwise a IllegalOperationError will be thrown.

Parameters

cml:ICompositeMassLoader — The ICompositeMassLoader.


Throws
IllegalOperationError If — the ICompositeMassLoader is not named.
 
ch.capi.errors:DataError If — an ICompositeMassLoader with the same name already exists.