Packageorg.spicefactory.lib.task.util
Classpublic class XmlLoaderTask
InheritanceXmlLoaderTask Inheritance ResultTask Inheritance Task Inheritance flash.events.EventDispatcher



Public Properties
 PropertyDefined By
 Inheritedcancelable : Boolean
[read-only] Indicates whether this Task can be cancelled.
Task
 Inheriteddata : *
An arbitrary value associated with this Task.
Task
 Inheritedparent : TaskGroup
[read-only] The parent of this Task.
Task
 Inheritedrestartable : Boolean
[read-only] Indicates whether this Task can be restarted.
Task
 Inheritedresult : *
[read-only] The result produced by this Task.
ResultTask
 Inheritedroot : Task
[read-only] The root TaskGroup in case this Task is nested in one or more TaskGroups.
Task
 Inheritedskippable : Boolean
[read-only] Indicates whether this Task can be forced to skip to its final state.
Task
 Inheritedstate : TaskState
[read-only] The current state of this Task.
Task
 Inheritedsuspendable : Boolean
[read-only] Indicates whether this Task can be suspended.
Task
 Inheritedtimeout : uint
[read-only] The timeout for this Task in milliseconds.
Task
  xml : XML
[read-only]
XmlLoaderTask
Public Methods
 MethodDefined By
  
XmlLoaderTask(filename:String)
XmlLoaderTask
 Inherited
cancel():Boolean
Cancels this Task.
Task
 Inherited
resume():Boolean
Resumes this Task if it is suspended.
Task
 Inherited
skip():Boolean
Forces this Task to move to its final state.
Task
 Inherited
start():Boolean
Starts this Task.
Task
 Inherited
suspend():Boolean
Suspends this Task.
Task
  
toString():String
[override]
XmlLoaderTask
Protected Methods
 MethodDefined By
 Inherited
complete():Boolean
Signals that this Task has completed.
Task
  
doCancel():void
[override]
XmlLoaderTask
 Inherited
doError(message:String):void
Called before the ERROR event gets fired.
Task
 Inherited
doResume():void
Called before the RESUME event gets fired.
Task
 Inherited
doSkip():void
Called after skip has been called but before the COMPLETE event gets fired.
Task
  
doStart():void
[override]
XmlLoaderTask
 Inherited
doSuspend():void
Called before the SUSPEND event gets fired.
Task
 Inherited
doTimeout():void
Called before the ERROR event gets fired after a timeout occurred.
Task
 Inherited
error(message:String):Boolean
Signals an error condition and cancels the Task.
Task
 Inherited
setCancelable(value:Boolean):void
Specifies whether this Task can be cancelled.
Task
 Inherited
setName(name:String):void
Sets the name of this Task.
Task
 Inherited
setRestartable(value:Boolean):void
Specifies whether this Task can be restarted.
Task
 Inherited
setResult(result:*):Boolean
Sets the result produced by this Task and signals that this Task has completed.
ResultTask
 Inherited
setSkippable(value:Boolean):void
Specifies whether this Task can be forced to skip to its final state.
Task
 Inherited
setSuspendable(value:Boolean):void
Specifies whether this Task can be suspended.
Task
 Inherited
setTimeout(value:uint):void
Sets the timeout for this Task in milliseconds.
Task
Events
 Event Summary Defined By
 InheritedDispatched when a Task is cancelled.Task
 InheritedDispatched when a Task has completed its execution.Task
 InheritedDispatched when a Task has aborted due to an error condition.Task
 InheritedDispatched when a suspended Task is resumed.Task
 InheritedDispatched when a Task is started.Task
 InheritedDispatched when a Task is suspended.Task
Property Detail
xmlproperty
xml:XML  [read-only]


Implementation
    public function get xml():XML
Constructor Detail
XmlLoaderTask()Constructor
public function XmlLoaderTask(filename:String)



Parameters
filename:String
Method Detail
doCancel()method
override protected function doCancel():void

doStart()method 
override protected function doStart():void

toString()method 
override public function toString():String

Returns
String