| Package | org.spicefactory.lib.reflect |
| Class | public class Constructor |
| Inheritance | Constructor FunctionBase Member MetadataAware |
| Method | Defined by | ||
|---|---|---|---|
![]() |
getAllMetadata():Array
Returns all metadata tags for this type in no particular order.
| MetadataAware | |
![]() |
getMetadata(type:Object):Array
Returns all metadata tags for the specified type for this element.
| MetadataAware | |
|
newInstance(params:Array):*
Creates a new instance of the class this constructor belongs to.
| Constructor | ||
![]() |
parametersFromXml(xml:XML, owner:ClassInfo):Array
[static]
| FunctionBase | |
| newInstance | () | method |
public function newInstance(params:Array):*Creates a new instance of the class this constructor belongs to.
Parametersparams:Array — the parameters to pass to the constructor
|
* — a new instance of the class this constructor belongs to
|
ConversionError — if one of the specified parameters
is not of the required type and can not be converted
|
|
MethodInvocationError —
if the specified number of parameters is not valid for this constructor
|
|
— any Error thrown by the constructor will not be catched by this method
|