Packageorg.spicefactory.parsley.command.tag.link
Classpublic class AbstractLinkTag
InheritanceAbstractLinkTag Inheritance Object
Implements LinkTag
Subclasses LinkAllResultsTag, LinkResultPropertyTag, LinkResultTypeTag, LinkResultValueTag

Base class for tags that represent command links.



Public Properties
 PropertyDefined By
  to : NestedCommandTag
The target command to execute in case the condition specified by this tag is met.
AbstractLinkTag
Protected Properties
 PropertyDefined By
  condition : LinkCondition
[read-only] The condition to apply to the links produced by this tag.
AbstractLinkTag
  targetKey : Object
[read-only] The key to look up the target command with in the map passed to the build method.
AbstractLinkTag
Public Methods
 MethodDefined By
  
Builds a new command link instance based on the configuration of this tag.
AbstractLinkTag
Property Detail
conditionproperty
condition:LinkCondition  [read-only]

The condition to apply to the links produced by this tag.


Implementation
    protected function get condition():LinkCondition
targetKeyproperty 
targetKey:Object  [read-only]

The key to look up the target command with in the map passed to the build method.


Implementation
    protected function get targetKey():Object
toproperty 
public var to:NestedCommandTag

The target command to execute in case the condition specified by this tag is met.

Method Detail
build()method
public function build(commands:Map):CommandLink

Builds a new command link instance based on the configuration of this tag.

Parameters

commands:Map

Returns
CommandLink — a new command link instance