Title:
Description: 单独验证并取值置于HashMap中:域名,类型(String int Date String[] int[]),能否为null(true|false), null=(not|empty|break),format=(yyyy-mm-dd), email=(true|false), min(>|>=)20, max(<|<=)20,isNotCN=true|false,onError=break 如果出错则退出验证,sql=SQLSERVER|MYSQL|ORACLE(用于SQL语句) 联合验证: and或or 表单域名称... 目前不支持 例:String, code, 编码, not, email=true, min<=20 max=30, isNotCN=true, exclude=#|;|", sql=sqlserver 表示类型为string型的变量code,名称为编码,不允许为空...... format=yyyy-MM-dd HH:mm:ss 固定格式:第一个必须是类型,第一个必须是域名,第三个是域的描述,第四个必须是能否为null,字符串中一律使用小写 null=not|empty not表示不能为空empty置其为空字符串 break表示不能为空并停止检查 字符串类型时min表示最小长度,max表示最大长度 int类型时min表示最小值,max表示最大值 Date类型时 min表示日期的最小值, max表示日期的最大值
Copyright: Copyright (c) 2005
Company:
| Method Detail |
public java.lang.String getCondValue(java.lang.String cond)
cond - String