struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject svn commit: r1432588 - /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/RegexFieldValidator.java
Date Sun, 13 Jan 2013 11:19:47 GMT
Author: lukaszlenart
Date: Sun Jan 13 11:19:47 2013
New Revision: 1432588

URL: http://svn.apache.org/viewvc?rev=1432588&view=rev
Log:
WW-3894 updates JavaDoc to match new implementation

Modified:
    struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/RegexFieldValidator.java

Modified: struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/RegexFieldValidator.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/RegexFieldValidator.java?rev=1432588&r1=1432587&r2=1432588&view=diff
==============================================================================
--- struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/RegexFieldValidator.java
(original)
+++ struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/RegexFieldValidator.java
Sun Jan 13 11:19:47 2013
@@ -30,9 +30,12 @@ import java.util.regex.Pattern;
  * <!-- START SNIPPET: parameters -->
  * <ul>
  * 	  <li>fieldName - The field name this validator is validating. Required if using
Plain-Validator Syntax otherwise not required</li>
- *    <li>expression - The RegExp expression  REQUIRED</li>
+ *    <li>regexp - The RegExp expression</li>
  *    <li>caseSensitive - Boolean (Optional). Sets whether the expression should be
matched against in a case-sensitive way. Default is <code>true</code>.</li>
- *    <li>trim - Boolean (Optional). Sets whether the expression should be trimed before
matching. Default is <code>true</code>.</li>
+ *    <li>trim - Boolean (Optional). Sets whether the expression should be trimmed
before matching. Default is <code>true</code>.</li>
+ *    <li>regexExpression - String (Optional). Defines regExp expression as an OGNL
expression - will be evaluated to String</li>
+ *    <li>caseSensitiveExpression - String (Optional). Defines caseSensitive param
as an OGNL expression - will be evaluated to Boolean.</li>
+ *    <li>trimExpression - String (Optional). Defines trim param as an OGNL expression
- will be evaluated to Boolean</li>
  * </ul>
  * You can mix normal params with expression aware params but thus was not tested
  * <!-- END SNIPPET: parameters -->



Mime
View raw message