The element ModifiedBy refers to the code of a Modifier, which modifies the class and its descendants. In case the Modifier shall not modify a descendant of the Class the element ExcludeModifier must be defined at that specific descendant (see ExcludeModifier). EXAMPLE<Class code="C88" kind="category">... <SubClass code="C88.0"/> <SubClass code="C88.1"/> <ModifiedBy code="Md1" position="5"/> </Class> <Class code="C88.0" kind="category"> <SuperClass code="C88"/> </Class> <Class code="C88.1" kind="category"> <SuperClass code="C88"/> <ExcludeModifier code="Md1"/> </Class>In the example both Class C88 and its descendant C88.0 are modified by Modifier Md1. At the descendant Class C88.1 the modifier is excluded, i.e. Class C88.1 is not modified by Modifier Md1. |
QName | Type | Fixed | Default | Use | Inheritable | Annotation | |
---|---|---|---|---|---|---|---|
all | xs:boolean | true | optional |
|
|||
code | xs:NMTOKEN | required |
|
||||
position | optional |
|
|||||
variants | xs:IDREFS | optional |
|
Element | Class |
<xs:element name="ModifiedBy"> <xs:annotation> <xs:documentation xml:lang="en-US">The element ModifiedBy refers to the code of a Modifier, which modifies the class and its descendants. In case the Modifier shall not modify a descendant of the Class the element ExcludeModifier must be defined at that specific descendant (see ExcludeModifier). EXAMPLE <Class code="C88" kind="category">... <SubClass code="C88.0"/> <SubClass code="C88.1"/> <ModifiedBy code="Md1" position="5"/> </Class> <Class code="C88.0" kind="category"> <SuperClass code="C88"/> </Class> <Class code="C88.1" kind="category"> <SuperClass code="C88"/> <ExcludeModifier code="Md1"/> </Class>In the example both Class C88 and its descendant C88.0 are modified by Modifier Md1. At the descendant Class C88.1 the modifier is excluded, i.e. Class C88.1 is not modified by Modifier Md1.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" ref="Meta"/> <xs:element minOccurs="0" maxOccurs="unbounded" ref="ValidModifierClass"/> </xs:sequence> <xs:attributeGroup ref="attlist.ModifiedBy"/> </xs:complexType> </xs:element> |