001/* 002 * Copyright (c) 2009 The openGion Project. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 013 * either express or implied. See the License for the specific language 014 * governing permissions and limitations under the License. 015 */ 016package org.opengion.hayabusa.html; 017 018/** 019 * JSON出力用のパラメータ定数定義クラスです。 020 * 021 * パラメータのキーとなる値と、初期値を設定しています。 022 * すべて、public static final で定義されている為、設定値はドキュメント等で 023 * 確認することが可能です。 024 * ただし、キー値などを、直書きすることを前提に公開していませんので、 025 * 必要であれば、定数として、このクラス経由で使用してください。 026 * 027 * @og.rev 5.9.7.0 (2016/04/01) 新規作成 028 * 029 * @version 5.0 030 * @author Takahashi Masakazu 031 * @since JDK5.0, 032 */ 033public class ViewJsonParam { 034 public static final String JSON_INFO_KEY = "h_jsoninfo" ; 035 public static final String JSON_HEAD_KEY = "h_jsonhead" ; 036 public static final String JSON_RENDERER_KEY = "h_jsonrnd" ; 037 public static final String JSON_DATANAME_KEY = "h_jsondname" ; 038 public static final String JSON_UTF_ENCODE = "h_jsonutfencode" ; 039 040 /** パラメータ初期値:{@value} */ 041 public static final String USE_JSON_INFO = "true" ; 042 /** パラメータ初期値:{@value} */ 043 public static final String USE_JSON_HEAD = "true" ; 044 /** パラメータ初期値:{@value} */ 045 public static final String USE_JSON_RENDERER = "false" ; 046 /** パラメータ初期値:{@value} */ 047 public static final String USE_JSON_UTFENC = "false" ; 048 /** パラメータ初期値:{@value} */ 049 public static final String JSON_DATANAME = "DATA" ; 050}