Difference between revisions of "Type:org/oomodels/WIML/1.0"

From OOModels
< Type:org‎ | oomodels‎ | WIML
Jump to navigationJump to search
Line 15: Line 15:


  &lt;wiml&gt;
  &lt;wiml&gt;
* ClassName Stereotype
  * ClassName Stereotype
  Single line class description
    Single line class description
** Attribute1Name Type Stereotype
  ** Attribute1Name Type Stereotype
    Single line attribute description
    Single line attribute description
    + Extension11Name
    + Extension11Name
      - Property111Name = Property111Value
      - Property111Name = Property111Value
      - Property112Name = Property112Value
      - Property112Name = Property112Value
      - ...
      - ...
    + Extension2Name
    + Extension2Name
      - Property121Name = Property121Value
      - Property121Name = Property121Value
      - Property122Name = Property122Value
      - Property122Name = Property122Value
      - ...
      - ...
** Attribute2Name Type Stereotype
  ** Attribute2Name Type Stereotype
    Single line attribute description
    Single line attribute description
    + Extension21Name
    + Extension21Name
      - Property211Name = Property211Value
      - Property211Name = Property211Value
      - Property212Name = Property212Value
      - Property212Name = Property212Value
      - ...
      - ...
    + Extension2Name
    + Extension2Name
      - Property221Name = Property221Value
      - Property221Name = Property221Value
      - Property222Name = Property222Value
      - Property222Name = Property222Value
      - ...
      - ...
** ...
  ** ...
  &lt;/wiml&gt;
  &lt;/wiml&gt;
The above code (except the "..." parts) is rendered as follows:
<wiml>
* ClassName Stereotype
  Single line class description
** Attribute1Name Type Stereotype
  Single line attribute description
  + Extension11Name
    - Property111Name = Property111Value
    - Property112Name = Property112Value
  + Extension2Name
    - Property121Name = Property121Value
    - Property122Name = Property122Value
** Attribute2Name Type Stereotype
  Single line attribute description
  + Extension21Name
    - Property211Name = Property211Value
    - Property212Name = Property212Value
  + Extension2Name
    - Property221Name = Property221Value
    - Property222Name = Property222Value
</wiml>

Revision as of 11:36, 21 July 2008

Classification
MIME Type text/plain
FileExtension wiml
Domain Domain:it/development/modelling
Category Type:org/oomodels/wiki/Version
Namespace (more)

OOModels main namespace

create new pages

Description[edit]

This is version 1.0 of Type:org/oomodels/WIML


Syntax[edit]

<wiml>
 * ClassName Stereotype
   Single line class description
 ** Attribute1Name Type Stereotype
    Single line attribute description
    + Extension11Name
      - Property111Name = Property111Value
      - Property112Name = Property112Value
      - ...
    + Extension2Name
      - Property121Name = Property121Value
      - Property122Name = Property122Value
      - ...
 ** Attribute2Name Type Stereotype
    Single line attribute description
    + Extension21Name
      - Property211Name = Property211Value
      - Property212Name = Property212Value
      - ...
    + Extension2Name
      - Property221Name = Property221Value
      - Property222Name = Property222Value
      - ...
 ** ...
</wiml>

The above code (except the "..." parts) is rendered as follows:


ClassName
«Stereotype»
Single line class description
Attribute1NameType«Stereotype»
...
Extension11Name Property111NameProperty111Value
Property112NameProperty112Value
Extension2Name Property121NameProperty121Value
Property122NameProperty122Value
Single line attribute description
Attribute2NameType«Stereotype»
...
Extension21Name Property211NameProperty211Value
Property212NameProperty212Value
Extension2Name Property221NameProperty221Value
Property222NameProperty222Value
Single line attribute description