@Documented @Constraint(validatedBy={}) @Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) public @interface Pattern
检查要验证的字符串是否匹配指定的正则表达式
public abstract String value
public abstract String message
public abstract ValidateProfile profile
Copyright © 2016 huihoo. All rights reserved.