KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > beehive > netui > compiler > model > validation > ValidatorConstants


1 /*
2  * Copyright 2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  * $Header:$
17  */

18 package org.apache.beehive.netui.compiler.model.validation;
19
20 public interface ValidatorConstants
21 {
22     String JavaDoc RULENAME_INT_RANGE = "netui_longRange";
23     String JavaDoc RULENAME_FLOAT_RANGE = "floatRange";
24     String JavaDoc RULENAME_REQUIRED = "required";
25     String JavaDoc RULENAME_EMAIL = "email";
26     String JavaDoc RULENAME_CREDIT_CARD = "creditCard";
27     String JavaDoc RULENAME_MINLENGTH = "minlength";
28     String JavaDoc RULENAME_MAXLENGTH = "maxlength";
29     String JavaDoc RULENAME_MASK = "mask";
30     String JavaDoc RULENAME_BYTE = "byte";
31     String JavaDoc RULENAME_SHORT = "short";
32     String JavaDoc RULENAME_INTEGER = "integer";
33     String JavaDoc RULENAME_LONG = "long";
34     String JavaDoc RULENAME_FLOAT = "float";
35     String JavaDoc RULENAME_DOUBLE = "double";
36     String JavaDoc RULENAME_DATE = "date";
37     String JavaDoc RULENAME_VALID_WHEN = "netui_validwhen";
38     
39     String JavaDoc VARNAME_MIN = "min";
40     String JavaDoc VARNAME_MAX = "max";
41     String JavaDoc VARNAME_MINLENGTH = "minlength";
42     String JavaDoc VARNAME_MAXLENGTH = "maxlength";
43     String JavaDoc VARNAME_MASK = "mask";
44     String JavaDoc VARNAME_DATE_PATTERN = "datePattern";
45     String JavaDoc VARNAME_DATE_PATTERN_STRICT = "datePatternStrict";
46     String JavaDoc VARNAME_VALID_WHEN = RULENAME_VALID_WHEN;
47     
48     String JavaDoc EXPRESSION_KEY_PREFIX = "NETUI-EXPRESSION:";
49 }
50
Popular Tags