dgraham 2003/08/16 11:56:20
Modified: src/share/org/apache/struts/validator DynaValidatorForm.java
Log:
Fixed minor javadoc formatting.
Revision Changes Path
1.12 +27 -27
jakarta-struts/src/share/org/apache/struts/validator/DynaValidatorForm.java
Index: DynaValidatorForm.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/src/share/org/apache/struts/validator/DynaValidatorForm.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- DynaValidatorForm.java 10 Jul 2003 04:01:47 -0000 1.11
+++ DynaValidatorForm.java 16 Aug 2003 18:56:20 -0000 1.12
@@ -98,44 +98,44 @@
*/
private static Log log = LogFactory.getLog(DynaValidatorForm.class);
- /**
+ /**
* The results returned from the validation performed
* by the <code>Validator</code>.
*/
protected ValidatorResults validatorResults = null;
- /**
+ /**
* Used to indicate the current page of a multi-page form.
*/
protected int page = 0;
- /**
+ /**
* Gets page.
- * @return page number.
+ * @return page number.
*/
public int getPage() {
return page;
}
- /**
+ /**
* Sets page.
- * @param page page number
+ * @param page page number
*/
public void setPage(int page) {
this.page = page;
}
/**
- * Validate the properties that have been set from this HTTP request,
- * and return an <code>ActionErrors</code> object that encapsulates any
- * validation errors that have been found. If no errors are found, return
- * <code>null</code> or an <code>ActionErrors</code> object with no
- * recorded error messages.
- *
- * @param mapping The mapping used to select this instance.
- * @param request The servlet request we are processing.
- * @return <code>ActionErrors</code> object that encapsulates any validation
errors.
- */
+ * Validate the properties that have been set from this HTTP request,
+ * and return an <code>ActionErrors</code> object that encapsulates any
+ * validation errors that have been found. If no errors are found, return
+ * <code>null</code> or an <code>ActionErrors</code> object with no
+ * recorded error messages.
+ *
+ * @param mapping The mapping used to select this instance.
+ * @param request The servlet request we are processing.
+ * @return <code>ActionErrors</code> object that encapsulates any validation
errors.
+ */
public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
{
this.setPageFromDynaProperty();
@@ -172,7 +172,7 @@
}
}
- /**
+ /**
* Reset all properties to their default values.
*
* @param mapping The mapping used to select this instance
@@ -184,30 +184,30 @@
validatorResults = null;
}
- /**
+ /**
* Get results of the validation performed by the
* <code>Validator</code>.
- * @return validator results as ValidatorResults object
+ * @return validator results as ValidatorResults object
*/
public ValidatorResults getValidatorResults() {
return validatorResults;
}
- /**
+ /**
* Set results of the validation performed by the
* <code>Validator</code>.
- * @param validatorResults Set results of the validation performed
+ * @param validatorResults Set results of the validation performed
*/
public void setValidatorResults(ValidatorResults validatorResults) {
this.validatorResults = validatorResults;
}
- /**
+ /**
* Returns a <code>Map</code> of values returned
* from any validation that returns a value other than
* <code>null</code> or <code>Boolean</code> with the
* key the full property path of the field.
- * @return Returns a <code>Map</code> of values, otherwise returns null if no
results.
+ * @return Returns a <code>Map</code> of values, otherwise returns null if no
results.
*/
public Map getResultValueMap() {
return (validatorResults != null ? validatorResults.getResultValueMap() :
null);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]