|
||||||||||
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
public class ActionFormTagsHandler
Field Summary |
---|
Fields inherited from class xdoclet.XDocletTagSupport |
---|
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER |
Constructor Summary | |
---|---|
ActionFormTagsHandler()
|
Method Summary | |
---|---|
java.lang.String |
actionFormClass()
Return the class name for the current class. |
java.lang.String |
actionFormName()
|
void |
forAllFormFields(java.lang.String template)
Evaluates body for all fields included in form generation |
static java.lang.String |
getActionFormClassFor(xjavadoc.XClass clazz)
Gets the ActionFormClassFor attribute of the ActionFormTagsHandler class. |
static java.lang.String |
getActionFormClassName(xjavadoc.XClass clazz)
Gets the ActionFormClassName attribute of the ActionFormTagsHandler class |
protected static java.lang.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(java.lang.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 java.lang.String getActionFormClassFor(xjavadoc.XClass clazz) throws XDocletException
clazz
- Describe what the parameter does
XDocletException
- Describe the exceptionpublic static java.lang.String getActionFormClassName(xjavadoc.XClass clazz) throws XDocletException
clazz
- Describe what the parameter does
XDocletException
- Describe the exceptionpublic static boolean hasFormDefinition(xjavadoc.XClass clazz) throws XDocletException
clazz
- Class to check
XDocletException
- Description of Exceptionprotected static java.lang.String getActionFormClassPattern()
public java.lang.String actionFormClass() throws XDocletException
XDocletException
- Description of Exceptionpublic java.lang.String actionFormName() throws XDocletException
XDocletException
- Description of Exceptionpublic void forAllFormFields(java.lang.String template) throws XDocletException
template
- The body of the block tag
XDocletException
- Description of Exceptionpublic void ifUseMethodInForm(java.lang.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 |