Difference between revisions of "Artefact:Template/org/ooem/templates/wiml-1.0-ooem-multipart-1.0"
From OOModels
< Artefact:Template | org | ooem | templates
Jump to navigationJump to search
AndreasLeue (talk | contribs) |
AndreasLeue (talk | contribs) |
||
Line 10: | Line 10: | ||
<div class="code"> | <div class="code"> | ||
<span class="oogintro">G-2.0- | <span class="oogintro">G-2.0-java_jpp-1.0 -*- coding: utf-8; -*-</span> | ||
<span class="oogfilecode">▼<span class="oogcontinuation">…</span></span> | <span class="oogfilecode">▼<span class="oogcontinuation">…</span></span> | ||
import org.oomodels.wiml.*; | import org.oomodels.wiml.*; |
Revision as of 15:56, 23 July 2008
Classification | |
---|---|
Type | Type:org/oogenerator/Template/2.0 |
Domain | Domain:it/development/formatting |
Category | Type:org/oomodels/wiki/Template |
Maturity | final |
More | |
Download Code | |
Namespace (more) | |
OOEM main package | |
create new pages |
Code[edit]
G-2.0-java_jpp-1.0 -*- coding: utf-8; -*- ▼… import org.oomodels.wiml.*; ▼… ⊏ signature(String wiml_code) ⊐… ⊏ locatortarget Object = (Object object) ⊐… « try { WIMLClass wc = WIMLClass.parseWIML(wiml_code); object = wc; »… <Class> <Name>◂‖"Ⓟ/Name"▸</Name> <Stereotype>«∀(‖"Ⓟ/Stereotypes"){»◂⊙▸«}/∀»</Stereotype> ⋮«∀(‖"Ⓟ/Attributes"){»… <Attribute Name="◂‖"Ⓟ/Name"▸" Type="◂‖"Ⓟ/Type"▸" Stereotype="«∀(‖"Ⓟ/Stereotypes"){»◂⊙▸«}/∀»"/> ⋮«}/∀»… </Class> « } catch (Throwable t) { »… ERROR: ◂t▸ « } »…