Difference between revisions of "Artefact:Template/org/ooem/templates/wiml-1.0-ooem-multipart-1.0"

From OOModels
Jump to navigationJump to search
Line 16: Line 16:
  <span class="oogtemplatecode">⊏ signature(String wiml_code) ⊐</span><span class="oogcontinuation">…</span>
  <span class="oogtemplatecode">⊏ signature(String wiml_code) ⊐</span><span class="oogcontinuation">…</span>
  <span class="oogcode">« try { WIMLClass wc = WIMLClass.parseWIML(wiml_code); »</span><span class="oogcontinuation">…</span>
  <span class="oogcode">« try { WIMLClass wc = WIMLClass.parseWIML(wiml_code); »</span><span class="oogcontinuation">…</span>
  Hallo: <span class="oogexpression">◂wc.getName()▸</span> - <span class="oogexpression">◂wc.getStereotype()▸</span>
  <Class>
  <Name><span class="oogexpression">◂wc.getName()▸</span></Name>
  <Stereotype><span class="oogexpression">◂wc.getStereotype()▸</span></Stereotype>
</Class>
  <span class="oogcode">« } catch (Throwable t) { »</span><span class="oogcontinuation">…</span>
  <span class="oogcode">« } catch (Throwable t) { »</span><span class="oogcontinuation">…</span>
  ERROR: <span class="oogexpression">◂t▸</span>
  ERROR: <span class="oogexpression">◂t▸</span>
  <span class="oogcode">« } »</span><span class="oogcontinuation">…</span>
  <span class="oogcode">« } »</span><span class="oogcontinuation">…</span>
</div>
</div>

Revision as of 01:03, 20 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-plain_java-1.0 -*- coding: utf-8; -*-

import org.oomodels.wiml.*;

⊏ signature(String wiml_code) ⊐
« try { WIMLClass wc = WIMLClass.parseWIML(wiml_code); »
<Class>
  <Name>◂wc.getName()▸</Name>
  <Stereotype>◂wc.getStereotype()▸</Stereotype>
</Class>
« } catch (Throwable t) { »
ERROR: ◂t▸
« } »