Packageorg.spicefactory.parsley.flex.tag.command
Classpublic class MxmlCommandTag
InheritanceMxmlCommandTag Inheritance Object
Implements NestedCommandTag

Tag for a single command declared in MXML configuration.

Default MXML Propertyconfig



Public Properties
 PropertyDefined By
  config : Array
[write-only] The command configuration or flow links for this command definition.
MxmlCommandTag
  links : Array
[read-only] The links of this command tag in case it represents a command in a flow.
MxmlCommandTag
  type : Class
The type of the command configured by this definition.
MxmlCommandTag
Public Methods
 MethodDefined By
  
Creates a new command factory based on the configuration of this tag.
MxmlCommandTag
Property Detail
configproperty
config:Array  [write-only]

The command configuration or flow links for this command definition.


Implementation
    public function set config(value:Array):void
linksproperty 
links:Array  [read-only]

The links of this command tag in case it represents a command in a flow.


Implementation
    public function get links():Array
typeproperty 
public var type:Class

The type of the command configured by this definition.

Method Detail
resolve()method
public function resolve(registry:ObjectDefinitionRegistry):ManagedCommandFactory

Creates a new command factory based on the configuration of this tag.

Parameters

registry:ObjectDefinitionRegistry

Returns
ManagedCommandFactory — a new command factory based on the configuration of this tag