c:mode

<c:mode
  name? = eqname
  on-no-match? = "deep-copy" | "shallow-copy" | "deep-skip" | "shallow-skip" | "text-only-copy" | "fail"
  visibility? = "public" | "private" | "final" />

Defines an explicit mode.

Category
declaration
Permitted parent elements
c:module
c:package

Attributes

name The name of the mode.
on-no-match Specifies the behavior when an item does not match any of the available template rules. The default is shallow-copy.
visibility Specifies how the current component can be used in other (using) packages.

In addition to the attributes in the preceding table, there are a number of standard attributes that may appear on any XCST element.

Error Conditions

It is a compilation error if the name attribute uses a reserved namespace.

It is a compilation error to use visibility='abstract'.

It is a compilation error if an unnamed c:mode declaration uses a visibility other than private.