Coverage Report - org.seasar.cubby.CubbyConstants
 
Classes in this File Line Coverage Branch Coverage Complexity
CubbyConstants
0%
0/1
N/A
0
 
 1  
 /*
 2  
  * Copyright 2004-2010 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  
 
 17  
 package org.seasar.cubby;
 18  
 
 19  
 /**
 20  
  * フレームワークで使用する定数クラスです。
 21  
  * 
 22  
  * @author agata
 23  
  * @author baba
 24  
  */
 25  0
 public class CubbyConstants {
 26  
 
 27  
         /** プレフィックス */
 28  
         private static final String PREFIX = "org.seasar.cubby.";
 29  
 
 30  
         // request --------------------------------------------------------
 31  
 
 32  
         /** アクションオブジェクトの要求の属性名 */
 33  
         public static final String ATTR_ACTION = "action";
 34  
 
 35  
         /** メッセージリソースを <code>Map</code> に変換したオブジェクトの要求の属性名 */
 36  
         public static final String ATTR_MESSAGES = "messages";
 37  
 
 38  
         /** アクションエラーの要求の属性名 */
 39  
         public static final String ATTR_ERRORS = "errors";
 40  
 
 41  
         /** コンテキストパスの要求の属性名 */
 42  
         public static final String ATTR_CONTEXT_PATH = "contextPath";
 43  
 
 44  
 
 45  
         /** パラメータオブジェクトの要求の属性名 */
 46  
         public static final String ATTR_PARAMS = PREFIX + "params";
 47  
 
 48  
         /** 内部フォワード時にルーティング情報を引き渡すための要求の属性名 */
 49  
         public static final String ATTR_ROUTING = PREFIX + "routing";
 50  
 
 51  
         /** アクションコンテキストの要求の属性名 */
 52  
         public static final String ATTR_ACTION_CONTEXT = PREFIX + "actionContext";
 53  
 
 54  
         /** 型変換失敗の要求の属性名 */
 55  
         public static final String ATTR_CONVERSION_FAILURES = PREFIX + "conversionFailures";
 56  
 
 57  
         /** バリデーションエラーを表すオブジェクトの要求の属性名 */
 58  
         public static final String ATTR_VALIDATION_FAIL = PREFIX + "validationFail";
 59  
 
 60  
         /** フォームオブジェクトのラッパーファクトリの要求の属性名 */
 61  
         public static final String ATTR_FORM_WRAPPER_FACTORY = PREFIX + "formWrapperFactory";
 62  
 
 63  
         /** フィルターチェインの要求の属性名 */
 64  
         public static final String ATTR_FILTER_CHAIN = PREFIX + "filterChain";
 65  
 
 66  
         /** メッセージリソースの属性名 */
 67  
         public static final String ATTR_MESSAGES_RESOURCE_BUNDLE = PREFIX + "messagesResourceBundle";
 68  
 
 69  
         // session --------------------------------------------------------
 70  
 
 71  
         /** フラッシュメッセージのセッションの属性名 */
 72  
         public static final String ATTR_FLASH = "flash";
 73  
 
 74  
         /** セッショントークンの <code>Map</code> のセッションの属性名 */
 75  
         public static final String ATTR_TOKEN = PREFIX + "token";
 76  
 
 77  
 }