element <templateGroup>

Namespace: | http://www.nokia.com/sdt/emf/component
Type: | embedded (extension of ConditionalSourceGen)
Content: | complex, 8 attributes, 6 elements
Defined: | globally within component.xsd, see XML source
Used: | at 1 location

XML Representation Summary
<templateGroup
| form | = | xsd:string
| forms | = | list of xsd:string
| id | = | xsd:string
| ifEvents | = | list of xsd:string
| ifExpr | = | xsd:string
| location | = | xsd:string
| mode | = | xsd:string
| phase | = | xsd:string
| >
Content: | (defineLocation | template | inline | useTemplate | useTemplateGroup | expandMacro)*
</templateGroup>

May contain elements (6):

  defineLocation, expandMacro, inline, template, useTemplate, useTemplateGroup

May be included in elements (1):

  sourceGen

Known Usage Locations

- Within embedded complexTypes of elements (1):
  sourceGen [ref]

Annotation
A logical grouping of templates and locations. Attributes
present on the group are automatically applied to children.
Groups may not be nested.
Embedded Type Detail

Type Derivation Summary ConditionalSourceGen complexType

XML Source

<xsd:element name="templateGroup"> <xsd:annotation> <xsd:documentation> A logical grouping of templates and locations. Attributes present on the group are automatically applied to children. Groups may not be nested. </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:complexContent> <xsd:extension base="ConditionalSourceGen"> <xsd:sequence> <xsd:choice maxOccurs="unbounded" minOccurs="0"> <xsd:element ref="defineLocation"/> <xsd:element ref="template"/> <!-- added post 1.1 --> <xsd:element ref="inline"/> <!-- added post 1.1 --> <xsd:element ref="useTemplate"/> <!-- added post 1.1 --> <xsd:element ref="useTemplateGroup"/> <!-- added post 1.1 --> <xsd:element ref="expandMacro"/> </xsd:choice> </xsd:sequence> <xsd:attribute name="location" type="xsd:string" use="optional"/> <xsd:attribute name="mode" type="xsd:string" use="optional"/> <xsd:attribute name="phase" type="xsd:string" use="optional"/> <xsd:attribute name="id" type="xsd:string" use="optional"/> <!-- form is obsolescent --> <xsd:attribute name="form" type="xsd:string" use="optional"/> </xsd:extension> </xsd:complexContent> </xsd:complexType> </xsd:element>

Attribute Detail
form

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within this element

  XML Source

  <xsd:attribute name="form" type="xsd:string" use="optional"/>

forms

  Added post 1.1 to inline.
  A list of tokens used to select a particular kind of source for a parent.
  The namespace is determined implicitly by what a parent requests.
  For instance, a parent may have special sourcegen, and pass
  the form "SpecialCase" to its children. Elements specifying
  form="SpecialCase" will be selected. Other parents will not see
  such elements if they do not specify that form.
  If the form does not match, the element is not invoked.

  Type: | listOfStrings
  Use: | optional
  Defined: | locally, within ConditionalSourceGenAttributes attributeGroup

id

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within this element

  XML Source

  <xsd:attribute name="id" type="xsd:string" use="optional"/>

ifEvents

  Added post 1.1 to inline.
  If defined, a list of events, any of which must be bound for the
  element to be invoked.

  Type: | listOfStrings
  Use: | optional
  Defined: | locally, within ConditionalSourceGenAttributes attributeGroup

ifExpr

  Added post 1.1.
  If defined, a Javascript expression which must evaluate to
  true (or non-zero) for the element to be invoked.

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within ConditionalSourceGenAttributes attributeGroup

location

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within this element

  XML Source

  <xsd:attribute name="location" type="xsd:string" use="optional"/>

mode

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within this element

  XML Source

  <xsd:attribute name="mode" type="xsd:string" use="optional"/>

phase

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within this element

  XML Source

  <xsd:attribute name="phase" type="xsd:string" use="optional"/>

Content Element Detail
defineLocation

  Type: | embedded, complex content
  Defined: | by reference, within this element

  XML Source

  <xsd:element ref="defineLocation"/>

expandMacro

  Type: | embedded (extension of ConditionalSourceGen), complex content
  Defined: | by reference, within this element

  XML Source

  <xsd:element ref="expandMacro"/>

inline

  Type: | embedded (extension of ConditionalSourceGenString), simple content
  Defined: | by reference, within this element

  XML Source

  <xsd:element ref="inline"/>

template

  Type: | embedded (extension of ConditionalSourceGenString), empty content
  Defined: | by reference, within this element

  XML Source

  <xsd:element ref="template"/>

useTemplate

  Type: | embedded, empty content
  Defined: | by reference, within this element

  XML Source

  <xsd:element ref="useTemplate"/>

useTemplateGroup

  Type: | embedded, complex content
  Defined: | by reference, within this element

  XML Source

  <xsd:element ref="useTemplateGroup"/>