View Javadoc

1   /*
2    * Copyright 2004-2008 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   * @author agata
21   */
22  public class CubbyConstants {
23  	
24  	/**
25  	 * Cubbyのデフォルトメッセージリソースの名前
26  	 */
27  	public static final String RES_MESSAGES = "messages";
28  	
29  	/**
30  	 * パラメータオブジェクトのリクエストの属性中の名前
31  	 */
32  	public static final String ATTR_PARAMS = "params";
33  
34  	/**
35  	 * アクションオブジェクトのリクエストの属性中の名前
36  	 */
37  	public static final String ATTR_ACTION = "action";
38  
39  	/**
40  	 * バリデーションエラーを表すオブジェクトのリクエストの属性中の名前
41  	 */
42  	public static final String ATTR_VALIDATION_FAIL = "validationFail";
43  
44  	/**
45  	 * TODO
46  	 */
47  	public static final String ATTR_OUTPUT_VALUES = "outputValues";
48  
49  	/**
50  	 * メッセージリソースをMapに変換したオブジェクトのリクエストの属性中の名前
51  	 */
52  	public static final String ATTR_MESSAGES = "messages";
53  
54  	/**
55  	 * コンテキストパスのリクエストの属性中の名前
56  	 */
57  	public static final String ATTR_CONTEXT_PATH = "contextPath";
58  
59  	/**
60  	 * TODO
61  	 */
62  	public static final String ATTR_ACTION_CLASS_NAME = "org.seasar.cubby.actionClassName";
63  
64  	/**
65  	 * TODO
66  	 */
67  	public static final String ATTR_METHOD_NAME = "org.seasar.cubby.methodName";
68  
69  	/**
70  	 * TODO
71  	 */
72  	public static final String ATTR_TOKEN = "org.seasar.cubby.token";
73  }