jp.sourceforge.livez.imode
クラス ImodeGenerator

java.lang.Object
  上位を拡張 jp.sourceforge.livez.MobilePhoneGenerator<ImodeRequest,Imode>
      上位を拡張 jp.sourceforge.livez.imode.ImodeGenerator

public final class ImodeGenerator
extends MobilePhoneGenerator<ImodeRequest,Imode>

iモード端末情報を生成する携帯端末情報ジェネレータクラスです。

作成者:
杉澤 浩二

フィールドの概要
static String BEAN_ID
          iモードサービス検証クラスが設定ファイルを参照してこのクラスを生成する時に使用するキー名です。
 
コンストラクタの概要
ImodeGenerator()
          デフォルトコンストラクタです。
 
メソッドの概要
 Imode create(HttpServletRequest request)
          HTTP リクエスト情報からiモード端末情報を生成して返します。
 Imode create(ImodeRequest r)
          iモード端末リクエスト情報からiモード端末情報を生成して返します。
 void setImodeDAO(ImodeDAO imodeDAO)
          ImodeDAO を設定します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

BEAN_ID

public static final String BEAN_ID
iモードサービス検証クラスが設定ファイルを参照してこのクラスを生成する時に使用するキー名です。

関連項目:
ImodeService.getMobilePhoneGenerator(WebApplicationContext), 定数フィールド値
コンストラクタの詳細

ImodeGenerator

public ImodeGenerator()
デフォルトコンストラクタです。

メソッドの詳細

setImodeDAO

public void setImodeDAO(ImodeDAO imodeDAO)
ImodeDAO を設定します。

パラメータ:
imodeDAO - ImodeDAO

create

public Imode create(ImodeRequest r)
             throws NullPointerException,
                    DataAccessException
iモード端末リクエスト情報からiモード端末情報を生成して返します。

定義:
クラス MobilePhoneGenerator<ImodeRequest,Imode> 内の create
パラメータ:
r - iモード端末リクエスト情報
戻り値:
iモード端末情報
例外:
NullPointerException - iモード端末リクエスト情報が null の場合
DataAccessException - ImodeDAO の操作で例外が発生した場合

create

public Imode create(HttpServletRequest request)
             throws NullPointerException,
                    IllegalRequestException,
                    DataAccessException
HTTP リクエスト情報からiモード端末情報を生成して返します。

定義:
クラス MobilePhoneGenerator<ImodeRequest,Imode> 内の create
パラメータ:
request - HTTPリクエスト情報
戻り値:
iモード端末情報
例外:
NullPointerException - HTTPリクエスト情報が null の場合
IllegalRequestException - HTTPリクエスト情報が不正な場合
DataAccessException - ImodeDAO の操作で例外が発生した場合


Copyright © 2005-2006 Kouji Sugisawa. All rights reserved.