KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > verge > mvc > controller > actionflow > 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.mvc.controller.actionflow.config;
8
9
10 /**
11  * This interface holds all the constants used in building the
12  * config object model.
13  *
14  * @author Brian Pontarelli
15  * @since 2.0
16  * @version 2.0
17  */

18 public interface Constants {
19
20     /**
21      * The namespace element
22      */

23     String JavaDoc NAMESPACE_ELEMENT = "namespace";
24
25     /**
26      * The node element
27      */

28     String JavaDoc NODE_ELEMENT = "node";
29
30     /**
31      * The form element
32      */

33     String JavaDoc FORM_ELEMENT = "form";
34
35     /**
36      * The name of the actionLink element
37      */

38     String JavaDoc ACTION_LINK_ELEMENT = "actionLink";
39
40     /**
41      * The name of the regexLink element
42      */

43     String JavaDoc REGEX_LINK_ELEMENT = "regexLink";
44
45     /**
46      * The name of the exceptionLink element
47      */

48     String JavaDoc EXCEPTION_LINK_ELEMENT = "exceptionLink";
49
50
51     /**
52      * The name attribute of nodes and namespaces
53      */

54     String JavaDoc NAME_ATTRIBUTE = "name";
55
56     /**
57      * The type attribute of nodes and namespaces
58      */

59     String JavaDoc TYPE_ATTRIBUTE = "type";
60
61     /**
62      * The error page attribute of namespaces
63      */

64     String JavaDoc ERROR_PAGE_ATTRIBUTE = "errorPage";
65
66     /**
67      * The class attribute of nodes
68      */

69     String JavaDoc CLASS_ATTRIBUTE = "class";
70
71     /**
72      * The repository id attribute of nodes
73      */

74     String JavaDoc REPOSITORY_ID_ATTRIBUTE = "repositoryId";
75
76     /**
77      * The default entry point attribute of nodes
78      */

79     String JavaDoc DEFAULT_ATTRIBUTE = "isDefaultEntry";
80
81     /**
82      * The exit point attribute of nodes
83      */

84     String JavaDoc EXIT_ATTRIBUTE = "isExitPoint";
85
86     /**
87      * The path attribute of presentation nodes
88      */

89     //String PATH_ATTRIBUTE = "path";
90

91     /**
92      * The file name attribute of presentation nodes
93      */

94     //String FILE_NAME_ATTRIBUTE = "fileName";
95

96     /**
97      * The node attribute of Links
98      */

99     String JavaDoc NODE_ATTRIBUTE = NODE_ELEMENT;
100
101     /**
102      * The namespace attribute of Links
103      */

104     String JavaDoc NAMESPACE_ATTRIBUTE = "namespace";
105
106     /**
107      * The action attribute of actionLinks
108      */

109     String JavaDoc ACTION_ATTRIBUTE = "action";
110
111     /**
112      * The regex attribute of regexLinks
113      */

114     String JavaDoc REGEX_ATTRIBUTE = "regex";
115
116     /**
117      * The exception attribute of exceptionLinks
118      */

119     String JavaDoc EXCEPTION_ATTRIBUTE = "exception";
120
121     /**
122      * The long transaction enabled attribute of all nodes
123      */

124     String JavaDoc LONG_TXN_ENABLED_ATTRIBUTE = "longTxnEnabled";
125
126     /**
127      * The long transaction start URL attribute of all nodes
128      */

129     String JavaDoc LONG_TXN_START_URL_ATTRIBUTE = "longTxnStartURL";
130
131     /**
132      * The long transaction end URL attribute of all nodes
133      */

134     String JavaDoc LONG_TXN_END_URL_ATTRIBUTE = "longTxnEndURL";
135
136     /**
137      * The long transaction category attribute of all nodes
138      */

139     String JavaDoc LONG_TXN_CATEGORY_ATTRIBUTE = "longTxnCategory";
140
141     /**
142      * The long transaction setup attribute that specifies the name of the class
143      * to call to get the long transaction URLs.
144      */

145     String JavaDoc LONG_TXN_SETUP_ATTRIBUTE = "longTxnSetup";
146
147
148     /**
149      * The name that the namespace builder is registered under
150      */

151     String JavaDoc NAMESPACE_BUILDER_NAME = "normal";
152
153     /**
154      * The name that the action builder is registered under
155      */

156     String JavaDoc ACTION_HANDLER_BUILDER_NAME = "actionHandler";
157
158     /**
159      * The name that the presentation builder is registered under
160      */

161     String JavaDoc PRESENTATION_BUILDER_NAME = "presentation";
162 }
163
Popular Tags