Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'doc/org.eclipse.jet.doc/references/taglibs/javaTags/classTag.html')
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/javaTags/classTag.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/javaTags/classTag.html b/doc/org.eclipse.jet.doc/references/taglibs/javaTags/classTag.html
index e446ea2..4db2c70 100644
--- a/doc/org.eclipse.jet.doc/references/taglibs/javaTags/classTag.html
+++ b/doc/org.eclipse.jet.doc/references/taglibs/javaTags/classTag.html
@@ -92,7 +92,18 @@
<TD width="10%"></TD>
<TD><SPAN style="font-family: monospace">
<!-- Begin class example -->
- &lt;java:class name=&quot;<I>value</I>&quot; template=&quot;<I>value</I>&quot;/&gt;<br>
+ &lt;%-- create class Foo in package org.example in source folder myProject/src --%&lt;<BR>
+ &lt;java:class name=&quot;Foo&quot; package="org.example" srcFolder="myProject/src" template=&quot;myJava.jet&quot;/&gt;<br><BR>
+
+ &lt;%-- create classes Foo &amp; Bar in package org.example in source folder myProject/src --%><BR>
+ &lt;ws:project name="myProject"&gt;<BR>
+ &nbsp;&nbsp;&lt;ws:folder path=&quot;src&quot;&gt;<BR>
+ &nbsp;&nbsp;&nbsp;&nbsp;&lt;java:package name="org.example"&gt;<BR>
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;java:class name="Foo" template="myFoo.jet"/&gt;<BR>
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;java:class name="Bar" template="myBar.jet"/&gt;<BR>
+ &nbsp;&nbsp;&nbsp;&nbsp;&lt;/java:package&gt;<BR>
+ &nbsp;&nbsp;&lt;/ws:folder&gt;<BR>
+ &lt;/ws:project&gt;<BR>
<!-- End class example -->
</SPAN></TD>
</TR>

Back to the top