xdoclet.modules.apache.struts
Class ActionFormTagsHandler
java.lang.Objectxdoclet.template.TemplateTagHandlerxdoclet.XDocletTagSupportxdoclet.modules.apache.struts.ActionFormTagsHandler
public class ActionFormTagsHandler
extends xdoclet.XDocletTagSupport
- Matt Raible (matt@raibledesigns.com)
String | actionFormClass()- Return the class name for the current class.
|
String | actionFormName()
|
void | forAllFormFields(String template)- Evaluates body for all fields included in form generation
|
static String | getActionFormClassFor(XClass clazz)- Gets the ActionFormClassFor attribute of the ActionFormTagsHandler class.
|
static String | getActionFormClassName(XClass clazz)- Gets the ActionFormClassName attribute of the ActionFormTagsHandler class
|
protected static String | getActionFormClassPattern()- Gets the ActionFormClassPattern attribute of the ActionFormTagsHandler class
|
static boolean | hasFormDefinition(XClass clazz)- Return true if at least one struts:form tag is defined.
|
void | ifUseMethodInForm(String template)- Evaluates the body if the method belongs in a given form.
|
protected boolean | useMethodInForm(XMethod method)- Check that method has struts:form-field tag with valid name, or is pk field (and pk fields are included) or
include-all="true".
|
delimit, expandClassName, generate, getCurrentClass, getCurrentClassTag, getCurrentConstructor, getCurrentField, getCurrentFieldTag, getCurrentMethod, getCurrentMethodTag, getCurrentPackage, getDocletContext, getEngine, getExpandedDelimitedTagValue, getTagValue, getTagValue, getTagValue, hasHavingClassTag, hasTag, isTagValueEqual, mandatoryParamNotFound, mandatoryTemplateTagParamNotFound, modifiers, popCurrentClass, pushCurrentClass, setCurrentClass, setCurrentClassTag, setCurrentConstructor, setCurrentField, setCurrentFieldTag, setCurrentMethod, setCurrentMethodTag, setCurrentPackage |
actionFormClass
public String actionFormClass()
throws xdoclet.XDocletException Return the class name for the current class.
- Description of the Returned Value
xdoclet.XDocletException - Description of Exception
actionFormName
public String actionFormName()
throws xdoclet.XDocletException- Description of the Returned Value
xdoclet.XDocletException - Description of Exception
forAllFormFields
public void forAllFormFields(String template)
throws xdoclet.XDocletException Evaluates body for all fields included in form generation
template - The body of the block tag
xdoclet.XDocletException - Description of Exception
getActionFormClassFor
public static String getActionFormClassFor(XClass clazz)
throws xdoclet.XDocletException Gets the ActionFormClassFor attribute of the ActionFormTagsHandler class.
clazz - Describe what the parameter does
- The ActionFormClassFor value
xdoclet.XDocletException - Describe the exception
getActionFormClassName
public static String getActionFormClassName(XClass clazz)
throws xdoclet.XDocletException Gets the ActionFormClassName attribute of the ActionFormTagsHandler class
clazz - Describe what the parameter does
- The ActionFormClassName value
xdoclet.XDocletException - Describe the exception
getActionFormClassPattern
protected static String getActionFormClassPattern()
Gets the ActionFormClassPattern attribute of the ActionFormTagsHandler class
- The ActionFormClassPattern value
hasFormDefinition
public static boolean hasFormDefinition(XClass clazz)
throws xdoclet.XDocletException Return true if at least one struts:form tag is defined.
- whether class has struts:form tag defined
xdoclet.XDocletException - Description of Exception
ifUseMethodInForm
public void ifUseMethodInForm(String template)
throws xdoclet.XDocletException Evaluates the body if the method belongs in a given form.
template - The body of the block tag
xdoclet.XDocletException -
useMethodInForm
protected boolean useMethodInForm(XMethod method)
throws xdoclet.XDocletException Check that method has struts:form-field tag with valid name, or is pk field (and pk fields are included) or
include-all="true".
method - Description of Parameter
- Description of the Returned Value
xdoclet.XDocletException - Description of Exception