KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > verge > config > Constants


1 /*
2  * Copyright (c) 2003, Inversoft
3  *
4  * This software is distribuable under the GNU Lesser General Public License.
5  * For more information visit gnu.org.
6  */

7 package com.inversoft.verge.config;
8
9
10 /**
11  * This interface contains all the constants used in build
12  * and accessing configuration. Most of the constants are
13  * used when reading the XML file (such as element names
14  * and attribute names)
15  *
16  * @author Brian Pontarelli
17  * @since 1.0
18  * @version 2.0
19  */

20 public interface Constants {
21
22     /**
23      * The name of the MVC configuration element
24      */

25     String JavaDoc MVC_ELEMENT = "mvc";
26
27     /**
28      * The name of the MVC URL beginning element
29      */

30     String JavaDoc URL_BEGINNING_ELEMENT = "urlBeginning";
31
32     /**
33      * The name of the controller parser configuration element
34      */

35     String JavaDoc CONTROLLER_PARSER_ELEMENT = "controllerParser";
36
37     /**
38      * The name of the model parser configuration element
39      */

40     String JavaDoc MODEL_PARSER_ELEMENT = "modelParser";
41
42     /**
43      * The name of the validator parser configuration element
44      */

45     String JavaDoc VALIDATOR_PARSER_ELEMENT = "validatorParser";
46
47     /**
48      * The name of the validator handler configuration element
49      */

50     String JavaDoc VALIDATOR_HANDLER_ELEMENT = "validatorHandler";
51
52     /**
53      * The name of the controller handler configuration element
54      */

55     String JavaDoc CONTROLLER_HANDLER_ELEMENT = "controllerHandler";
56
57     /**
58      * The name of the model resolver configuration element
59      */

60     String JavaDoc MODEL_RESOLVER_ELEMENT = "modelResolver";
61
62     /**
63      * The name of the model handler configuration element
64      */

65     String JavaDoc MODEL_HANDLER_ELEMENT = "modelHandler";
66
67     /**
68      * The name of the name attribute
69      */

70     String JavaDoc NAME_ATTRIBUTE = "name";
71 }
Popular Tags