xdoclet.modules.spring
public class SpringValidatorTagsHandler extends AbstractProgramElementTagsHandler
Version: $Revision: 1.3 $
UNKNOWN: April 26, 2004 namespace = "CommonsValidator"
Method Summary | |
---|---|
String | argIndex(Properties props)
Current argument index number (0 to 3).
|
String | argName(Properties props)
Current argument name - only valid if argument is for a specific validator type.
|
String | argValue(Properties props)
Current argument value, which is either an inline value or resource key.
|
String | fieldName(Properties props)
Returns the current fields name.
|
void | forAllFieldArgs(String template, Properties attributes)
Iterates over all arguments for the current field.
|
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 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. |
void | ifArgIsForType(String template, Properties attributes)
Evaluates the body if the current argument is a validator-specific argument.
|
void | ifArgIsResource(String template, Properties attributes)
Evaluates body if current argument is a resource key.
|
void | ifArgIsValue(String template, Properties attributes)
Evaluates the body if the current argument is an inline value rather than a resource key.
|
void | ifFormHasFields(String template, Properties attributes)
Evaluates the body if form has fields requiring validation.
|
void | ifNoArg0(String template, Properties attributes)
Evaluates the body if there is no arg0 specified.
|
String | validatorList(Properties props)
Returns a comma-separated list of the specified validator types.
|
Parameters: props The attributes of the template tag
Returns: argument index
UNKNOWN: type = "content"
Parameters: props The attributes of the template tag
Returns: argument name
UNKNOWN: type = "content"
Parameters: props The attributes of the template tag
Returns: argument value
UNKNOWN: type = "content"
Parameters: props The attributes of the template tag
Returns: current field's name
UNKNOWN: type = "content"
Parameters: template The body of the block tag attributes The attributes of the template tag
Throws: XDocletException
UNKNOWN: type = "block"
Parameters: template The body of the block tag attributes The attributes of the template tag
Throws: XDocletException
UNKNOWN: type = "block"
Parameters: template The body of the block tag attributes The attributes of the template tag
Throws: XDocletException
UNKNOWN: type = "block"
Parameters: attributes The content tag attributes.
Returns: form name
Throws: XDocletException if anything goes awry.
UNKNOWN: type = "content"
Parameters: template The body of the block tag attributes The attributes of the template tag
Throws: XDocletException
UNKNOWN: type = "block"
Parameters: template The body of the block tag attributes The attributes of the template tag
Throws: XDocletException
UNKNOWN: type = "block"
Parameters: template The body of the block tag attributes The attributes of the template tag
Throws: XDocletException
UNKNOWN: type = "block"
Parameters: template The body of the block tag attributes The attributes of the template tag
Throws: XDocletException
UNKNOWN: type = "block"
Parameters: template The body of the block tag attributes The attributes of the template tag
Throws: XDocletException
UNKNOWN: type = "block"
Parameters: props The attributes of the template tag
Returns: validator type list
UNKNOWN: type = "content"