| Package | andromeda.ioc.io |
| Class | public class XMLResource |
| Inheritance | XMLResource ObjectResource SimpleValueObject CoreObject |
| Property | Defined by | ||
|---|---|---|---|
| DEFAULT_PATH : String = "" [static]
The root path of all xml files.
| XMLResource | ||
| definition : Object
Indicates the definition object to initialize the ObjectDefinition of the current assembly.
| XMLResource | ||
![]() | description : String
The description of this resource.
| ObjectResource | |
![]() | id : *
(read-write) Indicates the id of this IValueObject.
| SimpleValueObject | |
![]() | owner : *
The owner reference of this resource.
| ObjectResource | |
| path : String
The optional root path of the xml file.
| XMLResource | ||
![]() | resource : String
The resource value.
| ObjectResource | |
| singleton : Boolean
Indicates if the object definition of this resource must be a singleton.
| XMLResource | ||
![]() | title : String
The title of this resource.
| ObjectResource | |
![]() | type : String
The type of the resource.
| ObjectResource | |
![]() | verbose : Boolean
Indicates the verbose mode of the resource.
| ObjectResource | |
| Method | Defined by | ||
|---|---|---|---|
|
XMLResource(init:Object = null)
Creates a new XMLResource instance.
| XMLResource | ||
|
Creates a new ActionURLLoader object with the resource.
| XMLResource | ||
![]() |
equals(o:*):Boolean
Compares the specified object with this object for equality.
| SimpleValueObject | |
![]() |
Returns the internal
ILogger reference of this ILogable object. | CoreObject | |
![]() |
hashCode():uint
Returns a hashcode value for the object.
| CoreObject | |
|
initialize(... args):void
The optional method invoked when the resource is loading.
| XMLResource | ||
![]() |
Sets the internal
ILogger reference of this ILogable object. | CoreObject | |
![]() |
toSource(indent:int = 0):String
Returns the string representation the source code of the object.
| CoreObject | |
![]() |
toString():String
Returns the
String representation of this object. | ObjectResource | |
| DEFAULT_PATH | property |
public static var DEFAULT_PATH:String = ""The root path of all xml files.
| definition | property |
public var definition:ObjectIndicates the definition object to initialize the ObjectDefinition of the current assembly. Use this attribute only if the 'id' of the assembly resource is not 'null' or 'undefined'.
| path | property |
public var path:StringThe optional root path of the xml file.
| singleton | property |
public var singleton:BooleanIndicates if the object definition of this resource must be a singleton.
| XMLResource | () | constructor |
public function XMLResource(init:Object = null)Creates a new XMLResource instance.
Parametersinit:Object (default = null) — A generic object containing properties with which to populate the newly instance. If this argument is null, it is ignored.
|
| create | () | method |
public override function create():CoreActionLoaderCreates a new ActionURLLoader object with the resource.
ReturnsCoreActionLoader |
| initialize | () | method |
public override function initialize(... args):voidThe optional method invoked when the resource is loading.
Parameters... args |
— if the resource can be initialize.
|