| Package | org.springextensions.actionscript.core.task.xml |
| SVN browsing | TaskNamespaceHandler.as |
| Fisheye | TaskNamespaceHandler.as |
| Class | public class TaskNamespaceHandler |
| Inheritance | TaskNamespaceHandler NamespaceHandlerSupport |
Task related markup to ObjectDefinitions.
Documentation reference: the task namespace handler
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new
TaskNamespaceHandler instance. | TaskNamespaceHandler | ||
![]() |
getNamespace():Namespace
Return the namespace supported by this namespace handler.
| NamespaceHandlerSupport | |
|
getRoot(xml:XML):XML
Returns the root node for the specified
XML node by recursively retrieving the parent node. | TaskNamespaceHandler | ||
|
When invoked for the first time this method will create a | TaskNamespaceHandler | ||
| Method | Defined by | ||
|---|---|---|---|
|
init():void
Intializes the current
TaskNamespaceHandler. | TaskNamespaceHandler | ||
![]() |
registerObjectDefinitionParser(element:String, parser:IObjectDefinitionParser):void
Registers an object definition parser.
| NamespaceHandlerSupport | |
| Constant | Defined by | ||
|---|---|---|---|
| AND_ELEMENT : String = "and" [static]
| TaskNamespaceHandler | ||
| COMMAND_ATTR : String = "command" [static]
| TaskNamespaceHandler | ||
| CONDITION_ATTR : String = "condition" [static]
| TaskNamespaceHandler | ||
| CONDITION_ELEMENT : String = "condition" [static]
| TaskNamespaceHandler | ||
| COUNT_ATTR : String = "count" [static]
| TaskNamespaceHandler | ||
| COUNT_PROVIDER_ATTR : String = "count-provider" [static]
| TaskNamespaceHandler | ||
| COUNT_PROVIDER_ELEMENT : String = "count-provider" [static]
| TaskNamespaceHandler | ||
| DURATION_ATTR : String = "duration" [static]
| TaskNamespaceHandler | ||
| ELSE_ELEMENT : String = "else" [static]
| TaskNamespaceHandler | ||
| EXIT_ELEMENT : String = "exit" [static]
| TaskNamespaceHandler | ||
| FOR_ELEMENT : String = "for" [static]
| TaskNamespaceHandler | ||
| ID_ATTR : String = "id" [static]
| TaskNamespaceHandler | ||
| IF_ELEMENT : String = "if" [static]
| TaskNamespaceHandler | ||
| NEXT_ELEMENT : String = "next" [static]
| TaskNamespaceHandler | ||
| PAUSECOMMAND_ELEMENT : String = "pause-command" [static]
| TaskNamespaceHandler | ||
| PAUSE_ELEMENT : String = "pause" [static]
| TaskNamespaceHandler | ||
| REF_ATTR : String = "ref" [static]
| TaskNamespaceHandler | ||
| REF_ELEMENT : String = "ref" [static]
| TaskNamespaceHandler | ||
| RESET_ELEMENT : String = "reset" [static]
| TaskNamespaceHandler | ||
| TASK_ELEMENT : String = "task" [static]
| TaskNamespaceHandler | ||
| WHILE_ELEMENT : String = "while" [static]
| TaskNamespaceHandler | ||
| TaskNamespaceHandler | () | constructor |
public function TaskNamespaceHandler()
Creates a new TaskNamespaceHandler instance.
| getRoot | () | method |
public function getRoot(xml:XML):XML
Returns the root node for the specified XML node by recursively retrieving the parent node.
xml:XML — The specified XML node
|
XML — The root node
|
| init | () | method |
protected function init():void
Intializes the current TaskNamespaceHandler.
| parse | () | method |
public override function parse(node:XML, parser:XMLObjectDefinitionsParser):IObjectDefinition
When invoked for the first time this method will create a TaskElementsPreprocessor and preprocess
the incoming XML.
node:XML — the xml node to parse
|
|
parser:XMLObjectDefinitionsParser — the root xml parser (XXX this might change to a parser context object)
|
IObjectDefinition |
See also
| AND_ELEMENT | constant |
public static const AND_ELEMENT:String = "and"
| COMMAND_ATTR | constant |
public static const COMMAND_ATTR:String = "command"
| CONDITION_ATTR | constant |
public static const CONDITION_ATTR:String = "condition"
| CONDITION_ELEMENT | constant |
public static const CONDITION_ELEMENT:String = "condition"
| COUNT_ATTR | constant |
public static const COUNT_ATTR:String = "count"
| COUNT_PROVIDER_ATTR | constant |
public static const COUNT_PROVIDER_ATTR:String = "count-provider"
| COUNT_PROVIDER_ELEMENT | constant |
public static const COUNT_PROVIDER_ELEMENT:String = "count-provider"
| DURATION_ATTR | constant |
public static const DURATION_ATTR:String = "duration"
| ELSE_ELEMENT | constant |
public static const ELSE_ELEMENT:String = "else"
| EXIT_ELEMENT | constant |
public static const EXIT_ELEMENT:String = "exit"
| FOR_ELEMENT | constant |
public static const FOR_ELEMENT:String = "for"
| ID_ATTR | constant |
public static const ID_ATTR:String = "id"
| IF_ELEMENT | constant |
public static const IF_ELEMENT:String = "if"
| NEXT_ELEMENT | constant |
public static const NEXT_ELEMENT:String = "next"
| PAUSECOMMAND_ELEMENT | constant |
public static const PAUSECOMMAND_ELEMENT:String = "pause-command"
| PAUSE_ELEMENT | constant |
public static const PAUSE_ELEMENT:String = "pause"
| REF_ATTR | constant |
public static const REF_ATTR:String = "ref"
| REF_ELEMENT | constant |
public static const REF_ELEMENT:String = "ref"
| RESET_ELEMENT | constant |
public static const RESET_ELEMENT:String = "reset"
| TASK_ELEMENT | constant |
public static const TASK_ELEMENT:String = "task"
| WHILE_ELEMENT | constant |
public static const WHILE_ELEMENT:String = "while"