| Package | potomac.bundle |
| Class | public dynamic class Extension |
| Inheritance | Extension Object |
name property, then the matching Extension instance will
contain a dynamic property name. The datatype of the dynamic properties
is either boolean, integer, or string as declared by the extension point. For
attributes marked as asset types, the property's datatype is either
Class (which contains the embeded resource) or, in cases where the bundle
wasn't known during compilation, the property will be a string containing the full
URL to the resource.
| Property | Defined By | ||
|---|---|---|---|
| bundleID : String [read-only]
The name of the bundle where the extension is declared. | Extension | ||
| className : String [read-only]
The name of the class which declared the extension. | Extension | ||
| constructor : Constructor [read-only]
The constructor where this extension was declared or
null if it wasn't declared on a constructor. | Extension | ||
| declaredOn : int [read-only]
Returns one of the DECLAREDON_ constants describing where this
extension was declared. | Extension | ||
| DECLAREDON_CLASS : int = 1 [static] | Extension | ||
| DECLAREDON_CONSTRUCTOR : int = 2 [static] | Extension | ||
| DECLAREDON_METHOD : int = 3 [static] | Extension | ||
| DECLAREDON_VARIABLE : int = 4 [static] | Extension | ||
| id : String [read-only]
The id of the extension or null if an id wasn't provided. | Extension | ||
| method : Method [read-only]
The method where this extension was declared or null if
it wasn't declared on a method. | Extension | ||
| pointID : String [read-only]
The id of the extension point of the extension. | Extension | ||
| variable : Variable [read-only]
The variable where this extension was declared or null if
it wasn't declared on a variable. | Extension | ||
| Method | Defined By | ||
|---|---|---|---|
Extension(extension:XML, extensionPoint:ExtensionPoint, baseURL:String)
Callers should not construct instances of Extension. | Extension | ||
toString():String | Extension | ||
| bundleID | property |
bundleID:String [read-only] The name of the bundle where the extension is declared.
public function get bundleID():String| className | property |
className:String [read-only] The name of the class which declared the extension.
public function get className():String| constructor | property |
constructor:Constructor [read-only] The constructor where this extension was declared or null if it wasn't declared on a constructor.
public function get constructor():Constructor| declaredOn | property |
declaredOn:int [read-only]
Returns one of the DECLAREDON_ constants describing where this
extension was declared.
public function get declaredOn():int| DECLAREDON_CLASS | property |
public static var DECLAREDON_CLASS:int = 1| DECLAREDON_CONSTRUCTOR | property |
public static var DECLAREDON_CONSTRUCTOR:int = 2| DECLAREDON_METHOD | property |
public static var DECLAREDON_METHOD:int = 3| DECLAREDON_VARIABLE | property |
public static var DECLAREDON_VARIABLE:int = 4| id | property |
id:String [read-only] The id of the extension or null if an id wasn't provided.
public function get id():String| method | property |
method:Method [read-only] The method where this extension was declared or null if it wasn't declared on a method.
public function get method():Method| pointID | property |
pointID:String [read-only] The id of the extension point of the extension.
public function get pointID():String| variable | property |
variable:Variable [read-only] The variable where this extension was declared or null if it wasn't declared on a variable.
public function get variable():Variable| Extension | () | Constructor |
public function Extension(extension:XML, extensionPoint:ExtensionPoint, baseURL:String)
Callers should not construct instances of Extension. Extensions can be retrieved via BundleService.
extension:XML | |
extensionPoint:ExtensionPoint | |
baseURL:String |
| toString | () | method |
public function toString():StringReturnsString |