User: pathoss
Date: 02/05/15 05:58:39
Modified: modules/apache/src/xdoclet/modules/apache/struts/ejb Tag:
MODULE_REFACTORING_BRANCH StrutsFormSubTask.java
Log:
Fixed addOfType/setOfType reported by Andrew.
Revision Changes Path
No revision
No revision
1.1.2.10 +6 -11
xdoclet/modules/apache/src/xdoclet/modules/apache/struts/ejb/Attic/StrutsFormSubTask.java
Index: StrutsFormSubTask.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/apache/src/xdoclet/modules/apache/struts/ejb/Attic/StrutsFormSubTask.java,v
retrieving revision 1.1.2.9
retrieving revision 1.1.2.10
diff -u -w -r1.1.2.9 -r1.1.2.10
--- StrutsFormSubTask.java 13 May 2002 11:19:20 -0000 1.1.2.9
+++ StrutsFormSubTask.java 15 May 2002 12:58:38 -0000 1.1.2.10
@@ -21,23 +21,24 @@
import xdoclet.util.Translator;
/**
- * Creates a <a href="http://jakarta.apache.org/struts">Struts</a> <a
href="http://jakarta.apache.org/struts/api/org/apache/struts/action/ActionForm.html">
- * ActionForm</a> based on an entity EJB.
+ * Creates a <a href="http://jakarta.apache.org/struts">Struts</a> <a
+ *
href="http://jakarta.apache.org/struts/api/org/apache/struts/action/ActionForm.html">
ActionForm</a> based on an
+ * entity EJB.
*
* @author Dmitri Colebatch ([EMAIL PROTECTED])
* @created September 3, 2001
* @xdoclet:subtask name="strutsform" parent="xdoclet.modules.ejb.EjbDocletTask"
- * @version $Revision: 1.1.2.9 $
+ * @version $Revision: 1.1.2.10 $
*/
public class StrutsFormSubTask extends AbstractEjbCodeGeneratorSubTask
{
-
public final static String SUBTASK_NAME = "strutsForm";
/**
* The default template file - struts_form.xdt.
*/
protected static String DEFAULT_TEMPLATE_FILE = "resources/struts_form.xdt";
+
/**
* The pattern for the form class. Defaults to {0}{1}Form if not present.
*/
@@ -50,14 +51,12 @@
/**
* Describe what the StrutsFormSubTask constructor does
- *
- * @todo-javadoc Write javadocs for constructor
*/
public StrutsFormSubTask()
{
setTemplateURL(getClass().getResource(DEFAULT_TEMPLATE_FILE));
setDestinationFile(getStrutsFormClassPattern() + ".java");
- setOfType("javax.ejb.EntityBean");
+ addOfType("javax.ejb.EntityBean");
}
/**
@@ -142,8 +141,6 @@
* @param clazz Describe what the parameter does
* @return The GeneratedFileName value
* @exception XDocletException Describe the exception
- * @todo-javadoc Write javadocs for method parameter
- * @todo-javadoc Write javadocs for exception
*/
protected String getGeneratedFileName(XClass clazz) throws XDocletException
{
@@ -195,8 +192,6 @@
* Describe what the method does
*
* @exception XDocletException Describe the exception
- * @todo-javadoc Write javadocs for method
- * @todo-javadoc Write javadocs for exception
*/
protected void engineStarted() throws XDocletException
{
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel