|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectxdoclet.template.TemplateTagHandler
xdoclet.XDocletTagSupport
xdoclet.tagshandler.AbstractProgramElementTagsHandler
xdoclet.modules.apache.struts.StrutsValidatorTagsHandler
xdoclet.modules.apache.struts.StrutsDynaFormValidatorTagsHandler
public class StrutsDynaFormValidatorTagsHandler
Struts dynamic form validator tag handler.
Field Summary |
---|
Fields inherited from class xdoclet.modules.apache.struts.StrutsValidatorTagsHandler |
---|
args, curFieldName, currentArgKey, supportedTypes |
Fields inherited from class xdoclet.tagshandler.AbstractProgramElementTagsHandler |
---|
currentToken, matchPattern, tagTokenizer |
Fields inherited from class xdoclet.XDocletTagSupport |
---|
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER |
Constructor Summary | |
---|---|
StrutsDynaFormValidatorTagsHandler()
|
Method Summary | |
---|---|
void |
forAllFields(java.lang.String template,
java.util.Properties attributes)
Iterates the body for each field of the current form requiring validation. |
void |
forAllForms(java.lang.String template,
java.util.Properties attributes)
Iterates over all POJOs with dynaform tags and evaluates the body of the tag for each class. |
java.lang.String |
formName(java.util.Properties attributes)
Gets the "name" attribute for the <form> element in the xml descriptor. |
Methods inherited from class xdoclet.modules.apache.struts.StrutsValidatorTagsHandler |
---|
argIndex, argName, argValue, fieldName, forAllFieldArgs, getFields, getFields, ifArgIsForType, ifArgIsResource, ifArgIsValue, ifFieldIsIndexed, ifFormHasFields, ifNoArg0, indexedListProperty, loadFieldArguments, validatorList |
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 StrutsDynaFormValidatorTagsHandler()
Method Detail |
---|
public void forAllForms(java.lang.String template, java.util.Properties attributes) throws XDocletException
forAllForms
in class StrutsValidatorTagsHandler
template
- The body of the block tagattributes
- The attributes of the template tag
XDocletException
public java.lang.String formName(java.util.Properties attributes) throws XDocletException
formName
in class StrutsValidatorTagsHandler
attributes
- The content tag attributes.
XDocletException
- if anything goes awry.public void forAllFields(java.lang.String template, java.util.Properties attributes) throws XDocletException
forAllFields
in class StrutsValidatorTagsHandler
template
- The body of the block tagattributes
- The attributes of the template tag
XDocletException
|
http://xdoclet.sourceforge.net/ | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |