本月博客排行
-
第1名
Xeden -
第2名
fantaxy025025 -
第3名
bosschen - paulwong
- johnsmith9th
年度博客排行
-
第1名
青否云后端云 -
第2名
宏天软件 -
第3名
gashero - gengyun12
- wy_19921005
- vipbooks
- e_e
- benladeng5225
- wallimn
- ranbuijj
- javashop
- jickcai
- fantaxy025025
- zw7534313
- qepwqnp
- robotmen
- 解宜然
- ssydxa219
- sam123456gz
- zysnba
- sichunli_030
- tanling8334
- arpenker
- gaojingsong
- xpenxpen
- kaizi1992
- wiseboyloves
- jh108020
- xyuma
- ganxueyun
- wangchen.ily
- xiangjie88
- Jameslyy
- luxurioust
- mengjichen
- lemonhandsome
- jbosscn
- nychen2000
- zxq_2017
- lzyfn123
- wjianwei666
- forestqqqq
- ajinn
- siemens800
- hanbaohong
- 狂盗一枝梅
- java-007
- zhanjia
- 喧嚣求静
- Xeden
最新文章列表
InvalidXMLCharacterValidator
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class InvalidXMLCharacterValidator extends BaseValidator implements GracieValidator {
public InvalidXMLCharacterVal ...
IntegerValidator
public class IntegerValidator extends BaseValidator implements GracieValidator {
public IntegerValidator() {
}
public static final String REGEX_INTEGER = "^-?\ ...
InputValidator
public class InputValidator extends BaseValidator implements GracieValidator {
public InputValidator() {
}
/**
* Return true when the input text is not empty
...
EmailValidator
public class EmailValidator extends BaseValidator implements GracieValidator {
public EmailValidator(){
}
public static final String REGEX_EMAIL = "^[a-zA-Z0-9!#$%&'*+/=?^_`{|}~ ...
FloatValidator
public class FloatValidator extends BaseValidator implements GracieValidator{
public FloatValidator() {
}
public static final String REGEX_FLOAT = "^(-?\\d+)(\\.\\ ...
NumericValidator
public class NumericValidator extends BaseValidator implements GracieValidator {
public NumericValidator() {
}
public static final String REGEX_NUMERIC = "^(-? ...
PrecisionValidator
public class PrecisionValidator extends BaseValidator {
private PrecisionValidator() {
}
public static final int ORACLE_NUMBER_PRECISION_RANGE_MIN = 1;
public ...
RegexValidator
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class RegexValidator extends BaseValidator implements GracieValidator {
public RegexValidator() {
}
...
StringLengthValidator
public class StringLengthValidator extends BaseValidator implements GracieValidator {
/**
* Return true when the input text length is in the limitation
* @param inputText ...
XssValidator
public class XssValidator extends BaseValidator {
private XssValidator(){
}
public static final String REGEX_XSS = "^(?!.*(<|>))[\\s\\S]*$";
/**
*
...
DigitValidator
public class DigitValidator extends BaseValidator implements GracieValidator {
public DigitValidator() {
}
public static final String REGEX_DIGIT = "^[0-9]+$&q ...
DateValidator
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
public class DateValidator extends BaseValidator implements GracieValidator{
public DateValidator( ...
AlphanumericValidator
public class AlphanumericValidator extends BaseValidator implements GracieValidator {
public AlphanumericValidator() {
}
public static final String REGEX_ALPHANUMER ...
GracieValidator
public interface GracieValidator {
public boolean isValid(String inputText);
public boolean isValid(String inputText, Object[] objs);
public boolean isValid(String inputText, String fieldE ...
MessageUtil
import java.text.MessageFormat;
import java.util.ResourceBundle;
import org.springframework.web.context.request.RequestAttributes;
import org.springframework.web.context.request.RequestContextHold ...
FieldValidationConstants
import java.util.Locale;
public class FieldValidationConstants {
public static final String LAN_ID = "fieldvalidation";
public static final String EXTERNAL_PROPERTIES ...
BaseValidator
import org.springframework.web.context.request.RequestAttributes;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAtt ...
Messages
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class Messages {
private List errorMessages;
private List successMe ...
AlphanumericValidator
public class AlphanumericValidator extends BaseValidator {
private AlphanumericValidator() {
}
public static final String REGEX_ALPHANUMERIC = "^[A-Za-z0-9 ]+$ ...