|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectxdoclet.template.TemplateTagHandler
xdoclet.XDocletTagSupport
xdoclet.modules.apache.struts.ActionFormTagsHandler
| Field Summary |
| Fields inherited from class xdoclet.XDocletTagSupport |
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER |
| Constructor Summary | |
ActionFormTagsHandler()
|
|
| Method Summary | |
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(xjavadoc.XClass clazz)
Gets the ActionFormClassFor attribute of the ActionFormTagsHandler class. |
static String |
getActionFormClassName(xjavadoc.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(xjavadoc.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(xjavadoc.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". |
| Methods inherited from class xdoclet.template.TemplateTagHandler |
getXJavaDoc, setXJavaDoc |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ActionFormTagsHandler()
| Method Detail |
public static String getActionFormClassFor(xjavadoc.XClass clazz)
throws XDocletException
clazz - Describe what the parameter does
XDocletException - Describe the exception
public static String getActionFormClassName(xjavadoc.XClass clazz)
throws XDocletException
clazz - Describe what the parameter does
XDocletException - Describe the exception
public static boolean hasFormDefinition(xjavadoc.XClass clazz)
throws XDocletException
clazz - Class to check
XDocletException - Description of Exceptionprotected static String getActionFormClassPattern()
public String actionFormClass()
throws XDocletException
XDocletException - Description of Exception
public String actionFormName()
throws XDocletException
XDocletException - Description of Exception
public void forAllFormFields(String template)
throws XDocletException
template - The body of the block tag
XDocletException - Description of Exception
public void ifUseMethodInForm(String template)
throws XDocletException
template - The body of the block tag
XDocletException
protected boolean useMethodInForm(xjavadoc.XMethod method)
throws XDocletException
method - Description of Parameter
XDocletException - Description of Exception
|
http://xdoclet.sourceforge.net/ | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||