|
||||||||||
| 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.ejb.EjbTagsHandler
xdoclet.modules.apache.struts.StrutsFormTagsHandler
public class StrutsFormTagsHandler
| Field Summary |
|---|
| Fields inherited from class xdoclet.modules.ejb.EjbTagsHandler |
|---|
ALL, LOCAL_SUFFIX, SERVICE_ENDPOINT, SERVICE_ENDPOINT_SUFFIX |
| Fields inherited from class xdoclet.XDocletTagSupport |
|---|
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER |
| Constructor Summary | |
|---|---|
StrutsFormTagsHandler()
|
|
| Method Summary | |
|---|---|
void |
forAllFormFields(java.lang.String template)
Evaluates body for all fields included in form generation |
static java.lang.String |
getStrutsFormClassFor(xjavadoc.XClass clazz)
Gets the StrutsFormClassFor attribute of the StrutsFormTagsHandler class. |
static java.lang.String |
getStrutsFormClassName(xjavadoc.XClass clazz)
Gets the StrutsFormClassName attribute of the StrutsFormTagsHandler class |
protected static java.lang.String |
getStrutsFormClassPattern()
Gets the StrutsFormClassPattern attribute of the StrutsFormTagsHandler 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. |
java.lang.String |
strutsFormClass()
Return the class name for the current class. |
java.lang.String |
strutsFormName()
|
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 StrutsFormTagsHandler()
| Method Detail |
|---|
public static java.lang.String getStrutsFormClassFor(xjavadoc.XClass clazz)
throws XDocletException
clazz - Describe what the parameter does
XDocletException - Describe the exception
public static java.lang.String getStrutsFormClassName(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 java.lang.String getStrutsFormClassPattern()
public java.lang.String strutsFormClass()
throws XDocletException
XDocletException - Description of Exception
public java.lang.String strutsFormName()
throws XDocletException
XDocletException - Description of Exception
public void forAllFormFields(java.lang.String template)
throws XDocletException
template - The body of the block tag
XDocletException - Description of Exception
public 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 | |||||||||