org.seasar.cubby.plugins.s2.el
クラス S2BeanELResolver

java.lang.Object
  上位を拡張 javax.el.ELResolver
      上位を拡張 org.seasar.cubby.plugins.s2.el.S2BeanELResolver

public class S2BeanELResolver
extends ELResolver

S2Container の public フィールドをプロパティとして認識させるための ELResolver です。

作成者:
baba

フィールドの概要
 
クラス javax.el.ELResolver から継承されたフィールド
RESOLVABLE_AT_DESIGN_TIME, TYPE
 
コンストラクタの概要
S2BeanELResolver()
          インスタンスを生成します。
S2BeanELResolver(boolean readOnly)
          インスタンスを生成します。
 
メソッドの概要
 Class<?> getCommonPropertyType(ELContext context, Object base)
          
 Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context, Object base)
          
 Class<?> getType(ELContext context, Object base, Object property)
          
 Object getValue(ELContext context, Object base, Object property)
          
 boolean isReadOnly(ELContext context, Object base, Object property)
          
 void setValue(ELContext context, Object base, Object property, Object value)
          
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

S2BeanELResolver

public S2BeanELResolver()
インスタンスを生成します。


S2BeanELResolver

public S2BeanELResolver(boolean readOnly)
インスタンスを生成します。

パラメータ:
readOnly - 読み込み専用とする場合は true、そうでない場合は false
メソッドの詳細

getValue

public Object getValue(ELContext context,
                       Object base,
                       Object property)
                throws NullPointerException,
                       PropertyNotFoundException,
                       ELException

定義:
クラス ELResolver 内の getValue
例外:
NullPointerException
PropertyNotFoundException
ELException

getType

public Class<?> getType(ELContext context,
                        Object base,
                        Object property)

定義:
クラス ELResolver 内の getType

setValue

public void setValue(ELContext context,
                     Object base,
                     Object property,
                     Object value)

定義:
クラス ELResolver 内の setValue

isReadOnly

public boolean isReadOnly(ELContext context,
                          Object base,
                          Object property)

定義:
クラス ELResolver 内の isReadOnly

getFeatureDescriptors

public Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context,
                                                         Object base)

定義:
クラス ELResolver 内の getFeatureDescriptors

getCommonPropertyType

public Class<?> getCommonPropertyType(ELContext context,
                                      Object base)

定義:
クラス ELResolver 内の getCommonPropertyType


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