Artefact:Template/org/oogenerator/examples/tutorial/Example0070 JavaCode

From OOModels
< Artefact:Template‎ | org‎ | oogenerator‎ | examples‎ | tutorial
Revision as of 14:55, 25 July 2008 by AndreasLeue (talk | contribs) (New page: {{Metabox | Meta_Type = Type:org/oogenerator/Template/2.0 | Meta_Domain = Domain:it/development/formatting | Meta_Category = Type:org/oomodels/wiki/Template | Meta_Download = true | ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
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)

OOGenerator main package

create new pages

Do not edit manually!

Code[edit]

G-2.0-plain_java-1.0
⊰
   This templates demonstrates how to embed Java code statements.

   Like in the previous examples, it prints "Hello, world!"
   (if invoked without an argument).
⊱
⊏ signature(String my_arg = "world") ⊐
⊰
   The characters '«' and '»' are used as delimimeters for arbitrary
   Java code statements.
⊱
« String greeting = "Hello, " + my_arg; »

    ◂greeting▸