org.seasar.cubby.plugins.oval.validation
クラス RequestLocaleOValContextRenderer

java.lang.Object
  上位を拡張 org.seasar.cubby.plugins.oval.validation.RequestLocaleOValContextRenderer
すべての実装されたインタフェース:
net.sf.oval.localization.context.OValContextRenderer

public class RequestLocaleOValContextRenderer
extends Object
implements net.sf.oval.localization.context.OValContextRenderer

現在の実行スレッドに関連付けられた要求に対応するメッセージ用の ResourceBundle からメッセージを翻訳する OValContextRenderer です。

作成者:
baba

コンストラクタの概要
RequestLocaleOValContextRenderer()
           
 
メソッドの概要
protected  boolean isGetter(Method method)
          指定されたメソッドが getter メソッドかどうかを示します。
 String render(net.sf.oval.context.OValContext ovalContext)
          
protected  String toPropertyName(Method method)
          指定された getter メソッドがアクセスするプロパティ名を取得します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

RequestLocaleOValContextRenderer

public RequestLocaleOValContextRenderer()
メソッドの詳細

render

public String render(net.sf.oval.context.OValContext ovalContext)

定義:
インタフェース net.sf.oval.localization.context.OValContextRenderer 内の render

isGetter

protected boolean isGetter(Method method)
指定されたメソッドが getter メソッドかどうかを示します。

パラメータ:
method - メソッド
戻り値:
getter メソッドの場合は true、そうでない場合は false

toPropertyName

protected String toPropertyName(Method method)
指定された getter メソッドがアクセスするプロパティ名を取得します。

パラメータ:
method - メソッド
戻り値:
プロパティ名


Copyright © 2006-2010 The Seasar Foundation. All Rights Reserved.