Differences

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

Link to this comparison view

port [2014/09/16 14:26] (current)
Line 1: Line 1:
 +===== The <port> Element =====
 +==== Definition and Usage ====
 +
 +Composite nodes of NCL, represented by [[body|<body>]], [[context|<context>]], and
 +[[switch|<switch>]] elements, encapsulates their child components.  Interfaces of
 +child components are not visible to relationships defined outside of the
 +composite node, unless these interfaces are externalized, using the
 +[[port|<port>]] or [[switchport|<switchPort>]] elements.
 +
 +The [[port|<port>]] element specifies a composite node port with its respective
 +mapping to an interface (//interface// attribute) of one of its
 +components (specified by the //component// attribute).  As usual, if the
 +//interface// attribute is not specified, the //whole content
 +anchor// is assumed.
 +
 +==== Syntax ====
 +^ Element ^ Attributes ^ Content ^ Parent ^
 +| [[port|<port>]] | __//id//__, __//component//__, //interface// | -- | [[context|<context>]] or [[body|<body>]] |
 +==== Attributes ====
 +
 +^ Name ^ Value ^ Description ^
 +| //id// | It may receive any string value that begins with a letter or an underscore and that only contains letters, digits, <".">, and <"_">. | The //id// attribute uniquely identifies the element within a document. |
 +| //component// | IDREF. | The //component// attribute identifies a child element of the composition, which may be a media object or another composite-object, through its //id// value. |
 +| //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 uniquely identifies an interface ([[area|<area>]], [[property|<property>]], [[port|<port>]], or [[switchport|<switchPort>]]) of a child element of the composition, through its //id// or //name// value.  Defaults to the whole content anchor of the referred component. |
 +
 +
 +
  
Back to top