xdoclet.modules.apache.struts
public class ActionFormSubTask extends TemplateSubTask
Version: $Revision: 1.2 $
UNKNOWN: April 26, 2004 display-name = "Action Form" name = "actionform" parent = "xdoclet.DocletTask"
| 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 | |
|---|---|
| ActionFormSubTask()
Describe what the ActionFormActionFormSubTaskstructor 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
|
| String | getActionFormClassPattern()
Return the class pattern.
|
| XTag | getCurrentFormTag()
Gets the CurrentFormTag attribute of the ActionFormSubTask object
|
| protected String | getGeneratedFileName(XClass clazz)
Gets the GeneratedFileName attribute of the ActionFormSubTask object
|
| 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 ActionFormSubTask object
|
| void | setPattern(String newPattern)
Sets the Pattern attribute of the ActionFormSubTask 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 ActionFormClassPattern value
Returns: The CurrentFormTag value
Parameters: clazz Describe what the parameter does
Returns: The GeneratedFileName value
Throws: XDocletException Describe the exception
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