dgraham 2004/04/04 12:38:45 Modified: validator/src/share/org/apache/commons/validator Form.java Log: Added @since javadoc tags for new methods and properties. Revision Changes Path 1.16 +14 -8 jakarta-commons/validator/src/share/org/apache/commons/validator/Form.java Index: Form.java =================================================================== RCS file: /home/cvs/jakarta-commons/validator/src/share/org/apache/commons/validator/Form.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- Form.java 4 Apr 2004 13:53:25 -0000 1.15 +++ Form.java 4 Apr 2004 19:38:45 -0000 1.16 @@ -61,13 +61,14 @@ /** * The name/key of the form which this form extends from. - */ + * @since Validator 1.2.0 + */ protected String inherit = null; /** * Whether or not the this <code>Form</code> was processed * for replacing variables in strings with their values. - */ + */ private boolean processed = false; /** @@ -143,12 +144,13 @@ /** * Processes all of the <code>Form</code>'s <code>Field</code>s. - */ + * @since Validator 1.2.0 + */ protected void process(Map globalConstants, Map constants, Map forms) { - if (isProcessed()) { return; } + int n = 0; //we want the fields from its parent first if (isExtending()) { Form parent = (Form) forms.get(inherit); @@ -228,13 +230,15 @@ /** * Whether or not the this <code>Form</code> was processed * for replacing variables in strings with their values. - */ + * @since Validator 1.2.0 + */ public boolean isProcessed() { return processed; } /** * Gets the name/key of the parent set of validation rules. + * @since Validator 1.2.0 */ public String getExtends() { return inherit; @@ -242,6 +246,7 @@ /** * Sets the name/key of the parent set of validation rules. + * @since Validator 1.2.0 */ public void setExtends(String string) { inherit = string; @@ -249,6 +254,7 @@ /** * Get extends flag. + * @since Validator 1.2.0 */ public boolean isExtending() { return inherit != null;
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]