Schema description.xsd


schema location:  <InstallDir>/doc/schemas/description.xsd
 
Elements 
file 
param 
prefix 
template 
templates 


element file
diagram
children path extension param
used by
element template
source
<xs:element name="file">
  <xs:annotation>
    <xs:documentation xml:lang="en">Declares all the velocity template files that will be used during code generation.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="path" type="xs:string"/>
      <xs:element name="extension" type="xs:string" minOccurs="0"/>
      <xs:element ref="param" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element file/path
diagram
type xs:string
source
<xs:element name="path" type="xs:string"/>

element file/extension
diagram
type xs:string
source
<xs:element name="extension" type="xs:string" minOccurs="0"/>

element param
diagram
used by
element file
attributes
Name  Type  Use  Default  Fixed  
name  xs:string  required      
source
<xs:element name="param">
  <xs:annotation>
    <xs:documentation xml:lang="en">Declares the name and value of template parameters.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute name="name" type="xs:string" use="required"/>
  </xs:complexType>
</xs:element>

element prefix
diagram
children package file
used by
element template
source
<xs:element name="prefix">
  <xs:annotation>
    <xs:documentation xml:lang="en">Declares the prefixes to add in the package or file name during the code generation.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="package" type="xs:string" minOccurs="0"/>
      <xs:element name="file" type="xs:string" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element prefix/package
diagram
type xs:string
source
<xs:element name="package" type="xs:string" minOccurs="0"/>

element prefix/file
diagram
type xs:string
source
<xs:element name="file" type="xs:string" minOccurs="0"/>

element template
diagram
children title description enable directory prefix file
used by
element templates
source
<xs:element name="template">
  <xs:annotation>
    <xs:documentation xml:lang="en">
Generator declaration.
This generator declaration contains all elements that allow adding a new simple generator without writing any Java code in a new Eclipse plug-in. This generator is visible in the Client Project for RuleApps wizard.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="title" type="xs:string">
        <xs:annotation>
          <xs:documentation>Declares the the name of the generator as it appears in the wizard.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="description" type="xs:string">
        <xs:annotation>
          <xs:documentation>Declares the description of the generator as it appears in the wizard.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="enable" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Allows declaring the generator and choose if it is visible in the wizard.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="directory" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Gives the root directory where the velocity templates are declared. It is a relative path.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element ref="prefix" minOccurs="0"/>
      <xs:element ref="file" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element template/title
diagram
type xs:string
source
<xs:element name="title" type="xs:string">
  <xs:annotation>
    <xs:documentation>Declares the the name of the generator as it appears in the wizard.</xs:documentation>
  </xs:annotation>
</xs:element>

element template/description
diagram
type xs:string
source
<xs:element name="description" type="xs:string">
  <xs:annotation>
    <xs:documentation>Declares the description of the generator as it appears in the wizard.</xs:documentation>
  </xs:annotation>
</xs:element>

element template/enable
diagram
type xs:string
source
<xs:element name="enable" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Allows declaring the generator and choose if it is visible in the wizard.</xs:documentation>
  </xs:annotation>
</xs:element>

element template/directory
diagram
type xs:string
source
<xs:element name="directory" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Gives the root directory where the velocity templates are declared. It is a relative path.</xs:documentation>
  </xs:annotation>
</xs:element>

element templates
diagram
children template
source
<xs:element name="templates">
  <xs:annotation>
    <xs:documentation xml:lang="en">Root element.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="template" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>


XML Schema documentation generated with
XMLSPY Schema Editor http://www.altova.com/xmlspy