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     */
016    package org.opengion.plugin.column;
017    
018    import org.opengion.hayabusa.db.AbstractDBType;
019    
020    /**
021     * ä¸?ˆ¬çš?ªåŠè§’文字å?を扱ã?‚ºã®ã€ã‚«ãƒ©ãƒ?±žæ?を定義ã—ã¾ã™ã?
022     *
023     * åŠè§’文字å?ã¨ã¯ã€ã? c < 0x20 || c > 0x7e 以外ã?ã§ã®ã¿
024     * æ§‹æ?ã•ã‚ŒãŸæ–‡å­—å?ã®ã“ã¨ã§ã™ã?
025     *
026     * タイプãƒã‚§ãƒ?‚¯ã¨ã—ã¦ã€ä»¥ä¸‹ã?æ¡ä»¶ã‚’判定ã—ã¾ã™ã?
027     * ・æ–?­—å?é•·ã¯ã€Byteæ›ç®—ã§ã®æ–?­—æ•°ã¨ã®æ¯”è¼?
028     * ・åŠè§’文字å?ãƒã‚§ãƒ?‚¯ã€?c < 0x20 || c > 0x7e 以外ã?エラー
029     * ・æ–?­—パラメータ㮠正è¦è¡¨ç¾ãƒã‚§ãƒ?‚¯
030     * ・クロスサイトスクリプティングãƒã‚§ãƒ?‚¯
031     *
032     * @og.group ãƒ??タ属æ?
033     *
034     * @version  4.0
035     * @author   Kazuhiko Hasegawa
036     * @since    JDK5.0,
037     */
038    public class DBType_X extends AbstractDBType {
039            //* ã“ã?プログラãƒ??VERSIONæ–?­—å?を設定ã—ã¾ã™ã?       {@value} */
040            private static final String VERSION = "4.0.0.0 (2005/08/31)" ;
041    
042            /**
043             * ãƒ?ƒ•ォルトコンストラクター
044             *
045             * @og.rev 4.0.0.0 (2005/01/31) type å»?­¢
046             */
047            public DBType_X() {
048    //              super();
049            }
050    
051            /**
052             * コンストラクター
053             * å?‚µãƒ–クラスã®ã‚¿ã‚¤ãƒ—å?ã¨ãƒ?ƒ•ォルトå?を設定ã—ã¦ã€ã‚ªãƒ–ジェクトを構築ã—ã¾ã™ã?
054             *
055             * @og.rev 4.0.0.0 (2005/01/31) type å»?­¢
056             *
057             * @param  defValue ãƒ??ã‚¿ã®ãƒ?ƒ•ォルトå?
058             */
059            public DBType_X( final String defValue ) {
060                    super( defValue );
061            }
062    }