xdoclet.modules.apache.struts
Class StrutsDynaFormValidatorTagsHandler
java.lang.Objectxdoclet.template.TemplateTagHandlerxdoclet.XDocletTagSupportxdoclet.tagshandler.AbstractProgramElementTagsHandler
public class StrutsDynaFormValidatorTagsHandler
Struts dynamic form validator tag handler.
- Nick Heudecker (nick at systemmobile dot com)
- namespace = "DFValidator"
void | forAllFields(String template, Properties attributes)- Iterates the body for each field of the current form requiring validation.
|
void | forAllForms(String template, Properties attributes)- Iterates over all POJOs with dynaform tags and evaluates the body of the tag for each class.
|
String | formName(Properties attributes)- Gets the "name" attribute for the <form> element in the xml descriptor.
|
argIndex, argName, argValue, fieldName, forAllFieldArgs, forAllFields, forAllForms, formName, getFields, getFields, ifArgIsForType, ifArgIsResource, ifArgIsValue, ifFieldIsIndexed, ifFormHasFields, ifNoArg0, indexedListProperty, loadFieldArguments, validatorList |
checkForWrap, currentToken, exceptionList, firstSentenceDescriptionOfCurrentMember, forAllMemberTagTokens, forAllMemberTags, forAllMembers, getAllClasses, getClassNameFor, getFullClassNameFor, getFullSuperclassNameFor, getIndentChars, getXExecutableMemberForMemberName, getXExecutableMemberForMemberName, hasExecutableMember, hasExecutableMember_OLD, makeCopyOfArray, matchValue, memberComment, setMatchValue, skipToken |
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 |
forAllFields
public void forAllFields(String template,
Properties attributes)
throws xdoclet.XDocletException Iterates the body for each field of the current form requiring validation.
- forAllFields in interface StrutsValidatorTagsHandler
template - The body of the block tagattributes - The attributes of the template tag
xdoclet.XDocletException -
forAllForms
public void forAllForms(String template,
Properties attributes)
throws xdoclet.XDocletException Iterates over all POJOs with dynaform tags and evaluates the body of the tag for each class.
- forAllForms in interface StrutsValidatorTagsHandler
template - The body of the block tagattributes - The attributes of the template tag
xdoclet.XDocletException -
formName
public String formName(Properties attributes)
throws xdoclet.XDocletException Gets the "name" attribute for the <form> element in the xml descriptor.
- formName in interface StrutsValidatorTagsHandler
attributes - The content tag attributes.
xdoclet.XDocletException - if anything goes awry.