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.html111
1 files changed, 0 insertions, 111 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
deleted file mode 100644
index 85355f6..0000000
--- a/doc/org.eclipse.jet.doc/references/taglibs/javaTags/classTag.html
+++ /dev/null
@@ -1,111 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<HTML>
-<HEAD>
-<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<META name="GENERATOR" content="IBM Software Development Platform">
-<link rel="STYLESHEET" href="../../../book.css" charset="ISO-8859-1" type="text/css"/>
-<TITLE>&lt;java:class&gt; - Standard JET2 Java Tags</TITLE>
-</HEAD>
-<BODY>
-<TABLE border="0" cellpadding="0" cellspacing="1" width="100%">
- <TBODY>
- <TR>
- <TH align="left">
- <P>&lt;java:class&gt;</P></TH>
- <TH align="right"><A href="overview.html">Standard JET2 Java Tags</A></TH>
- </TR>
- </TBODY>
-</TABLE>
-<HR>
-<P><B>class</B></P>
-<P><P> Create a Java class with the specified name and write its contents by evaluating the supplied template.<P> </P>
-<HR>
-<TABLE border="1" width="100%">
- <TBODY>
- <TR>
- <TH colspan="2" align="left">Tag Summary</TH></TR>
- <TR>
- <TD width="10%">required</TD>
- <TD><SPAN style="font-family: monospace">
- &lt;java:class name=&quot;<I>value</I>&quot; template=&quot;<I>value</I>&quot;/&gt;<br>
- </SPAN></TD>
- </TR>
- <TR>
- <TD width="10%">full tag</TD>
- <TD><SPAN style="font-family: monospace">
- &lt;java:class name=&quot;<I>value</I>&quot; template=&quot;<I>value</I>&quot; package=&quot;<I>value</I>&quot; srcFolder=&quot;<I>value</I>&quot; replace=&quot;<I>value</I>&quot; encoding=&quot;<I>value</I>&quot; derived=&quot;<I>value</I>&quot;/&gt;<br>
- </SPAN></TD>
- </TR>
- </TBODY>
-</TABLE>
-<HR>
-<TABLE border="1" width="100%">
- <TBODY>
- <TR>
- <TH colspan="2" align="left">Required Attributes</TH></TR>
- <TR>
- <TD width="10%">name</TD>
- <TD><BR> The name unqualified name of the Java class.<BR> </TD>
- </TR>
- <TR>
- <TD width="10%">template</TD>
- <TD><BR> A project-relative path of a JET template to execute. The template provides the class file's contents.<BR> </TD>
- </TR>
- </TBODY>
-</TABLE>
-<HR>
-<TABLE border="1" width="100%">
- <TBODY>
- <TR>
- <TH colspan="2" align="left">Optional Attributes</TH></TR>
- <TR>
- <TR>
- <TD width="10%">package</TD>
- <TD><BR> The name of the java package. If not specified, then the name of the containing 'java:package' tag is used, otherwise, the default package is used.<BR> </TD>
- </TR>
- <TR>
- <TD width="10%">srcFolder</TD>
- <TD><BR> The a path of source folder. If a relative path, this relative to any containing 'ws:project' or 'ws:folder' tags. If absolute, it is treated as a workspace relative path. If omitted, the first source folder of the containing project is used.<BR> </TD>
- </TR>
- <TR>
- <TD width="10%">replace</TD>
- <TD><BR> A boolean ('true' or 'false') value. If 'true', the tag will overwrite an existing file, otherwise it will not. If omitted, a value of 'true' is assumed.<BR> </TD>
- </TR>
- <TR>
- <TD width="10%">encoding</TD>
- <TD><BR> The character encoding of the file. If omitted, then the Eclipse workspace determines the encoding. If provided, then the encoding is changed to the specified value. A value of '#default' restores the encoding of the file to the workspace determined default.<BR> </TD>
- </TR>
- <TR>
- <TD width="10%">derived</TD>
- <TD><BR> A boolean value ('true' or 'false') determining the value of the workspace 'derived' attribute for the file. If omitted, a value of 'false' is assumed.<BR> </TD>
- </TR>
- </TBODY>
-</TABLE>
-<HR>
-<TABLE border="1" width="100%">
- <TBODY>
- <TR>
- <TH colspan="2" align="left">Example</TH></TR>
- <TR>
- <TD width="10%"></TD>
- <TD><SPAN style="font-family: monospace">
-<!-- Begin class example -->
- &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>
- </TBODY>
-</TABLE>
-<P></P></BODY>
-</HTML>

Back to the top