BiObjectLoader
This class is used to encapsulate an object created from XML markup in a loader object. The loader can be used to create several objects from the same XML node. Each time the load() method is called a new object is created from the node. The method getComponentById() will be added to the created objects and can be used to obtain child components with. The last created object is stored in the object property of the loader.
This class extends
BiAbstractLoader
and therefore all methods and fields available for
BiAbstractLoader
are also available for
BiObjectLoader
.
Constructor
new
BiObjectLoader
(
[
oNode
]
)
Parameters
| Name | Type | Optional | Default | Descripton |
oNode |
XMLElement |
![]() |
The element to create an object from |
Properties
| Name | Type | get | set | Descripton |
autoNameMapping |
Boolean |
![]() |
![]() |
When this is true any XML object that has an id attribute will create a global reference to the object created from this XML element. |
node |
XMLElement |
![]() |
![]() |
This is the XML element describing the object. |
object |
|
![]() |
The last created object |
Methods
| Name | Description |
abort |
Stops the current loading |
Events
None.
Static Methods
None.
Static Fields
None.
Remarks
Method Details
abort
Stops the current loading
Syntax
object.abort ( )
Parameters
No arguments.
Return Type
void
