Packageorg.spicefactory.lib.reflect.provider
Classpublic class ClassInfoProviderFactory
InheritanceClassInfoProviderFactory Inheritance Object

Factory that creates ClassInfoProvider instances based on the capabilities of the Flash Player. In Player 10.1 or newer providers will use the describeTypeJSON function under the hood, in older players the XML-based describeType will be used.



Public Methods
 MethodDefined By
  
Creates a new ClassInfoProvider based on the capabilities of the Flash Player.
ClassInfoProviderFactory
Method Detail
newProvider()method
public function newProvider(type:Class):ClassInfoProvider

Creates a new ClassInfoProvider based on the capabilities of the Flash Player.

Parameters

type:Class — the type to reflect on

Returns
ClassInfoProvider — a new ClassInfoProvider based on the capabilities of the Flash Player