XMLEvent
| Kind of class: | class |
|---|---|
| Inherits from: | Event |
| Dispatched by: | |
| Classpath: | org.asapframework.util.xml.XMLEvent |
| File last modified: | Wednesday, 04 October 2006, 01:10:46 |
XML Event Value Object
Summary
Constructor
Class properties
- ON_ERROR : String
- ON_LOADED : String
- for 'onXMLLoadError' event
- ON_TIMEOUT : String
- for 'onXMLLoaded' event
- ON_ALL_LOADED : String
- for 'onXMLTimeout' event
Instance properties
- name : String
- for 'onAllXMLLoaded' event
- error : String
- name of the XML request
- status : Number
- error message (if loading failed)
- xmlSource : XML
- status of the loading atempt, its value will either be 0 (success), correspond to one of the ERROR_ constants in the XMLLoader class, of be something else, in which case an unknown error has occured.
Constructor
XMLEvent
function XMLEvent (
inType:String,
inSource:XMLWorker,
inName:String,
inError:String,
inStatus:Number)
XML source data that was loaded
Class properties
ON_ALL_LOADED
static ON_ALL_LOADED:String = "onAllXMLLoaded"
(read)
for 'onXMLTimeout' event
ON_ERROR
static ON_ERROR:String = "onXMLLoadError"
(read)
ON_LOADED
static ON_LOADED:String = "onXMLLoaded"
(read)
for 'onXMLLoadError' event
ON_TIMEOUT
static ON_TIMEOUT:String = "onXMLTimeout"
(read)
for 'onXMLLoaded' event
Instance properties
error
error:String
(read)
name of the XML request
name
name:String
(read)
for 'onAllXMLLoaded' event
status
status:Number
(read)
error message (if loading failed)
xmlSource
xmlSource:XML
(read)
status of the loading atempt, its value will either be 0 (success), correspond to one of the ERROR_ constants in the XMLLoader class, of be something else, in which case an unknown error has occured.