xdoclet.modules.apache.struts
public class StrutsDynaFormValidatorTagsHandler extends StrutsValidatorTagsHandler
args, curFieldName, currentArgKey, supportedTypes
currentToken, matchPattern, tagTokenizer
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER
Constructor and Description |
---|
StrutsDynaFormValidatorTagsHandler() |
Modifier and Type | Method and Description |
---|---|
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.
|
argIndex, argName, argValue, fieldName, forAllFieldArgs, getFields, getFields, ifArgIsForType, ifArgIsResource, ifArgIsValue, ifFieldIsIndexed, ifFormHasFields, ifNoArg0, indexedListProperty, loadFieldArguments, validatorList
checkForWrap, currentToken, exceptionList, firstSentenceDescriptionOfCurrentMember, forAllMembers, forAllMemberTags, forAllMemberTagTokens, getAllClasses, getClassNameFor, getFullClassNameFor, getFullSuperclassNameFor, getIndentChars, getXExecutableMemberForMemberName, getXExecutableMemberForMemberName, hasExecutableMember_OLD, hasExecutableMember, 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
getXJavaDoc, setXJavaDoc
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 tagXDocletException
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 tagXDocletException