import java.util.Locale; public class FieldValidationConstants { public static final String LAN_ID = "fieldvalidation"; public static final String EXTERNAL_PROPERTIES_FILE_NAME = "ConfigureLoader"; public static final String EXT_INVALID_XML_CHARACTERS_KEY = "EXT_INVALID_XML_CHARACTERS"; public static final String INVALID_XML_CHARACTERS = "[^\\u0009\\u000A\\u000D\\u0020-\\uD7FF\\uE000-\\uFFFD\\u10000-\\u10FFFF]"; public final static String MESSAGES = "messages"; public static final Locale DEFAULT_LOCAL = Locale.US; public static final String DEFAULT_FIELD_ERROR_TAG_ID_PREFIX = "FET_"; public static final String DEFAULT_PAGE_SUCCESS_MSG_KEY = "pageSuccess.fieldValidation"; public static final String DEFAULT_PAGE_SUCCESS_MSG = "Submit successfully!"; public static final String DEFAULT_PAGE_ERROR_MSG_KEY = "pageError.fieldValidation"; public static final String DEFAULT_PAGE_ERROR_MSG = "Field validation failed, please check your input!"; }