org.seasar.framework.util.tiger
クラス AnnotationUtil

java.lang.Object
  上位を拡張 org.seasar.framework.util.tiger.AnnotationUtil

public class AnnotationUtil
extends Object

アノテーションのためのユーティリティクラスです。

作成者:
higa

メソッドの概要
static Map<String,Object> getProperties(Annotation annotation)
          アノテーションの要素を名前と値のMapとして返します。
static Object getProperty(BeanDesc beanDesc, Annotation annotation, String name)
          アノテーションの要素の値を返します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

getProperties

public static Map<String,Object> getProperties(Annotation annotation)
アノテーションの要素を名前と値のMapとして返します。

パラメータ:
annotation - アノテーション
戻り値:
アノテーションの要素の名前と値からなるMap

getProperty

public static Object getProperty(BeanDesc beanDesc,
                                 Annotation annotation,
                                 String name)
アノテーションの要素の値を返します。

パラメータ:
beanDesc - アノテーションを表すBeanDesc
annotation - アノテーション
name - 要素の名前
戻り値:
アノテーションの要素の値


Copyright ? 2004-2008 The Seasar Foundation. All Rights Reserved.