Differences

This shows you the differences between two versions of the page.

Link to this comparison view

bind [2014/09/16 14:26] (current)
Line 1: Line 1:
 +===== The <bind> Element =====
 +==== Definition and Usage ====
 +
 +The [[bind|<bind>]] element allows associating an interface of an object with a
 +connector role.
 +
 +If the referred connector role comes from a [[simpleaction|<simpleAction>]] element
 +whose //eventType// is equal to "attribution", and whose
 +//actionType// is equal to "start", and if the specified value is
 +"$anyName", the assigned value is retrieved from the property associated
 +with the role "anyName" and defined by a [[bind|<bind>]] child element in the
 +same [[link|<link>]] element.  If this value cannot be retrieved, no attribution
 +is made.
 +
 +==== Syntax ====
 +^ Element ^ Attributes ^ Content ^ Parent ^
 +| [[bind|<bind>]] | __//role//__, __//component//__, //interface//, //descriptor// | [[bindparam|<bindParam>]]* | [[link|<link>]] |
 +==== Attributes ====
 +
 +^ Name ^ Value ^ Description ^
 +| //role// | String | The //role// attribute refers to a connector role. |
 +| //component// | IDREF. | The //component// attribute refers to a [[media|<media>]] element, or to a [[context|<context>]] element, or to a [[body|<body>]] element, or to a [[switch|<switch>]] element.  These elements must be child elements of the same composition in which the [[link|<link>]] element is defined, or must be the composition in which the [[link|<link>]] element is defined. |
 +| //interface// | <html><p></html>String.<html></p></html><html><p></html>The default value is the whole content anchor.<html></p></html> | The //interface// attribute refers to an [[area|<area>]], [[port|<port>]], or [[switchport|<switchPort>]], of the object identified by the //component// attribute, by referring its //id// attribute; or refers to a [[property|<property>]], of the object identified by the //component// attribute, by referring its //name// attribute. |
 +| //descriptor// | IDREF. | The //descriptor// attribute refers to a [[descriptor|<descriptor>]] element. |
 +
 +
 +
  
Back to top