Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
CubbyConstants |
|
| 0.0;0 |
1 | /* | |
2 | * Copyright 2004-2009 the Seasar Foundation and the Others. | |
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, | |
13 | * either express or implied. See the License for the specific language | |
14 | * governing permissions and limitations under the License. | |
15 | */ | |
16 | package org.seasar.cubby; | |
17 | ||
18 | /** | |
19 | * Cubbyフレームワークで使用する定数クラスです。 | |
20 | * | |
21 | * @author agata | |
22 | * @author baba | |
23 | * @since 1.0.0 | |
24 | */ | |
25 | 0 | public class CubbyConstants { |
26 | ||
27 | /** | |
28 | * アクションオブジェクトの要求の属性名。 | |
29 | */ | |
30 | public static final String ATTR_ACTION = "action"; | |
31 | ||
32 | /** | |
33 | * メッセージリソースを <code>Map</code> に変換したオブジェクトの要求の属性名。 | |
34 | */ | |
35 | public static final String ATTR_MESSAGES = "messages"; | |
36 | ||
37 | /** | |
38 | * アクションエラーの要求の属性名。 | |
39 | */ | |
40 | public static final String ATTR_ERRORS = "errors"; | |
41 | ||
42 | /** | |
43 | * コンテキストパスの要求の属性名。 | |
44 | */ | |
45 | public static final String ATTR_CONTEXT_PATH = "contextPath"; | |
46 | ||
47 | /** | |
48 | * パラメータオブジェクトの要求の属性名。 | |
49 | */ | |
50 | public static final String ATTR_PARAMS = "org.seasar.cubby.params"; | |
51 | ||
52 | /** | |
53 | * 内部フォワード時にルーティング情報を引き渡すための要求の属性名。 | |
54 | */ | |
55 | public static final String ATTR_ROUTING = "org.seasar.cubby.routing"; | |
56 | ||
57 | /** | |
58 | * アクションコンテキストの要求の属性名。 | |
59 | */ | |
60 | public static final String ATTR_ACTION_CONTEXT = "org.seasar.cubby.actionContext"; | |
61 | ||
62 | /** | |
63 | * 型変換エラーの要求の属性名。 | |
64 | */ | |
65 | public static final String ATTR_CONVERSION_ERRORS = "org.seasar.cubby.conversionErrors"; | |
66 | ||
67 | /** | |
68 | * バリデーションエラーを表すオブジェクトの要求の属性名。 | |
69 | */ | |
70 | public static final String ATTR_VALIDATION_FAIL = "org.seasar.cubby.validationFail"; | |
71 | ||
72 | /** | |
73 | * フラッシュメッセージのセッションの属性名。 | |
74 | */ | |
75 | public static final String ATTR_FLASH = "flash"; | |
76 | ||
77 | /** | |
78 | * セッショントークンの <code>Map</code> のセッションの属性名。 | |
79 | */ | |
80 | public static final String ATTR_TOKEN = "org.seasar.cubby.token"; | |
81 | ||
82 | } |