Describes add-on level elements of the projectdoc model.

Location
src/main/resources/projectdoc-models/add-on.xml

The Add-on XSD defines the contents of the add-on.xml file. It captures the add-on model.

Example

The following example shows how categories for a set of doctypes is defined.

Add-on Descriptor Example
<?xml version='1.0'?>

<add-on
  xmlns="http://smartics.de/xsd/projectdoc/add-on/1"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <categories>
    <category id="volume">
      <resource-bundle>
        <l10n>
          <name>Volume</name>
        </l10n>
        <l10n locale="de">
          <name plural="Bände">Band</name>
        </l10n>
      </resource-bundle>
    </category>
    <category id="default">
      <resource-bundle>
        <l10n>
          <name>Model Element</name>
        </l10n>
        <l10n locale="de">
          <name plural="Modell-Elemente">Modell-Element</name>
        </l10n>
      </resource-bundle>
    </category>
    <category id="threat-aspect">
      <resource-bundle>
        <l10n>
          <name>Threat Aspect</name>
        </l10n>
        <l10n locale="de">
          <name plural="Bedrohungsaspekte">Bedrohungsaspekt</name>
        </l10n>
      </resource-bundle>
    </category>
    <category id="threat-characteristic">
      <resource-bundle>
        <l10n>
          <name>Threat Characteristic</name>
        </l10n>
        <l10n locale="de">
          <name plural="Bedrohungseigenschaften">Bedrohungseigenschaft</name>
        </l10n>
      </resource-bundle>
    </category>
  </categories>
</add-on>
 

The Add-on XSD defines the structure of this file.

Resources

More information on projectdoc models:

Space Descriptor
Describes the spaces model. Currently only one space per add-on is supported.
Doctype Descriptor
Describes the doctypes model.