xdoclet.modules.apache.struts.ejb
public class StrutsFormSubTask extends AbstractEjbCodeGeneratorSubTask
Version: $Revision: 1.12 $
UNKNOWN: September 3, 2001 display-name = "Struts Form" name = "strutsform" parent = "xdoclet.modules.ejb.EjbDocletTask"
| Field Summary | |
|---|---|
| protected XTag | currentFormTag
Form tag being processed right now. |
| protected static String | DEFAULT_TEMPLATE_FILE
The default template file - struts_form.xdt. |
| protected String | formClassPattern
The pattern for the form class. |
| Constructor Summary | |
|---|---|
| StrutsFormSubTask()
Describe what the StrutsFormSubTask constructor does | |
| Method Summary | |
|---|---|
| protected void | engineStarted()
Describe what the method does
|
| protected void | generateForClass(XClass clazz)
iterate through all struts:form tags,and produce separate classes
|
| XTag | getCurrentFormTag()
Gets the CurrentFormTag attribute of the StrutsFormSubTask object
|
| protected String | getGeneratedFileName(XClass clazz)
Gets the GeneratedFileName attribute of the StrutsFormSubTask object
|
| String | getStrutsFormClassPattern()
Return the class pattern.
|
| protected boolean | matchesGenerationRules(XClass clazz)
Returns whether struts form[s] shall be generated for this class
|
| void | setCurrentFormTag(XTag t)
Sets the CurrentFormTag attribute of the StrutsFormSubTask object
|
| void | setPattern(String newPattern)
Sets the Pattern attribute of the StrutsFormSubTask object
|
| void | validateOptions()
Called to validate configuration parameters.
|
Throws: XDocletException Describe the exception
Parameters: clazz Description of Parameter
Throws: XDocletException Description of Exception
Returns: The CurrentFormTag value
Parameters: clazz Describe what the parameter does
Returns: The GeneratedFileName value
Throws: XDocletException Describe the exception
Returns: The StrutsFormClassPattern value
Parameters: clazz Description of Parameter
Returns: is form tag shall be generated
Throws: XDocletException Description of Exception
Parameters: t The new CurrentFormTag value
Parameters: newPattern The new Pattern value
Throws: XDocletException Description of Exception