<memberOf>

<memberOf> specifies class membership of the parent element or class.
Modultagdocs — 22 Documentation Elements
Attribute
keyspecifies the identifier for a class of which the documented element or class is a member or subclass
Zustand Optional
Datentyp

<rng:ref name="data.name"/>
data.name
modespecifies the effect of this declaration on its parent module.
Zustand Optional
Gültige Werte:
add
this declaration is added to the current definitions [Vorgabe]
delete
this declaration and all of its children are removed from the current setup
Verwendet von
Kann enthalten
gaiji: g
Deklaration

<rng:element name="memberOf">
<rng:ref name="att.global.attributes"/>
<rng:optional>
 <rng:attribute name="key">
  <rng:ref name="data.name"/>
 </rng:attribute>
</rng:optional>
<rng:optional>
 <rng:attribute name="modea:defaultValue="add">
  <rng:choice>
   <rng:value>add</rng:value>
   <rng:value>delete</rng:value>
  </rng:choice>
 </rng:attribute>
</rng:optional>
<rng:ref name="macro.xtext"/>
</rng:element>
element memberOf
{
   att.global.attributes,
   attribute key { data.name }?,
   attribute mode { "add" | "delete" }?,
   macro.xtext
}
Beispiel
<memberOf key="model.divLike"/>
<memberOf key="att.identified"/>

This element will appear in any content model which referencesmodel.divLike, and will have attributes defined inatt.identified (in addition to any defined explicitly for this element).