クラス
java.beans.IntrospectionExceptionの使用

IntrospectionExceptionを使用するパッケージ 
パッケージ 説明
java.beans
Bean (JavaBeans™アーキテクチャに基づいたコンポーネント)の開発に関連したクラスが含まれています。
  • java.beansでのIntrospectionExceptionの使用

    IntrospectionExceptionをスローするjava.beansのメソッド 
    修飾子と型 メソッド 説明
    static BeanInfo Introspector.getBeanInfo​(Class<?> beanClass)
    Java Beanのイントロスペクションを行い、すべてのプロパティ、公開メソッド、イベントについて調べます。
    static BeanInfo Introspector.getBeanInfo​(Class<?> beanClass, int flags)
    いくつかの制御フラグに従って、Java Beanのイントロスペクションを行い、すべてのプロパティ、公開されたメソッド、イベントについて調べます。
    static BeanInfo Introspector.getBeanInfo​(Class<?> beanClass, Class<?> stopClass)
    Java Beanのイントロスペクションを行い、指定された「停止」ポイントに達するまで、プロパティ、公開されたメソッドを調べます。
    static BeanInfo Introspector.getBeanInfo​(Class<?> beanClass, Class<?> stopClass, int flags)
    いくつかの制御flagsに従って、Java Beanのイントロスペクションを行い、指定されたstopClassポイントに達するまで、そのすべてのプロパティ、公開されたメソッド、イベントについて調べます。
    void IndexedPropertyDescriptor.setIndexedReadMethod​(Method readMethod)
    インデックス付きプロパティ値の読込みに使用するメソッドを設定します。
    void IndexedPropertyDescriptor.setIndexedWriteMethod​(Method writeMethod)
    インデックス付きプロパティ値の書込みに使用するメソッドを設定します。
    void PropertyDescriptor.setReadMethod​(Method readMethod)
    プロパティ値の読込みに使用するメソッドを設定します。
    void PropertyDescriptor.setWriteMethod​(Method writeMethod)
    プロパティ値の書込みに使用するメソッドを設定します。
    IntrospectionExceptionをスローするjava.beansのコンストラクタ 
    コンストラクタ 説明
    EventSetDescriptor​(Class<?> sourceClass, String eventSetName, Class<?> listenerType, String listenerMethodName)
    指定されたイベントfredが(1) FredListenerインタフェースの単一のメソッド呼び出しとして配信される、(2) FredEvent型の単一の引数をとる、(3) FredListenerをソース・コンポーネントのaddFredListenerメソッドの呼出しで登録しremoveFredListenerメソッドの呼出しで削除する、というもっとも単純な標準設計パターンに従うものとして、EventSetDescriptorを作成します。
    EventSetDescriptor​(Class<?> sourceClass, String eventSetName, Class<?> listenerType, String[] listenerMethodNames, String addListenerMethodName, String removeListenerMethodName)
    文字列名を使って、ゼロからEventSetDescriptorを作成します。
    EventSetDescriptor​(Class<?> sourceClass, String eventSetName, Class<?> listenerType, String[] listenerMethodNames, String addListenerMethodName, String removeListenerMethodName, String getListenerMethodName)
    このコンストラクタは、文字列名を使って、ゼロからEventSetDescriptorを作成します。
    EventSetDescriptor​(String eventSetName, Class<?> listenerType, MethodDescriptor[] listenerMethodDescriptors, Method addListenerMethod, Method removeListenerMethod)
    java.lang.reflect.MethodDescriptorおよびjava.lang.Classオブジェクトを使って、ゼロからEventSetDescriptorを作成します。
    EventSetDescriptor​(String eventSetName, Class<?> listenerType, Method[] listenerMethods, Method addListenerMethod, Method removeListenerMethod)
    java.lang.reflect.Methodおよびjava.lang.Classオブジェクトを使って、ゼロからEventSetDescriptorを作成します。
    EventSetDescriptor​(String eventSetName, Class<?> listenerType, Method[] listenerMethods, Method addListenerMethod, Method removeListenerMethod, Method getListenerMethod)
    このコンストラクタは、java.lang.reflect.Methodオブジェクトとjava.lang.Classオブジェクトを使って、ゼロからEventSetDescriptorを作成します。
    IndexedPropertyDescriptor​(String propertyName, Class<?> beanClass)
    このコンストラクタは、インデックス付きのアクセスと配列アクセスのどちらでも、アクセス用メソッドgetFooおよびsetFooを使って、標準Java規約に準拠したプロパティのIndexedPropertyDescriptorを構築します。
    IndexedPropertyDescriptor​(String propertyName, Class<?> beanClass, String readMethodName, String writeMethodName, String indexedReadMethodName, String indexedWriteMethodName)
    このコンストラクタは、単純なプロパティ名と、プロパティの読み込みおよび書込み用のメソッド名(インデックス付きメソッドと非インデックス付きメソッドの両方)を引数に取ります。
    IndexedPropertyDescriptor​(String propertyName, Method readMethod, Method writeMethod, Method indexedReadMethod, Method indexedWriteMethod)
    このコンストラクタは、単純なプロパティ名と、プロパティの読み込みおよび書込み用のMethodオブジェクトを引数に取ります。
    PropertyDescriptor​(String propertyName, Class<?> beanClass)
    アクセス用メソッドgetFooおよびsetFooを使って、標準のJava規約に準拠しているプロパティのPropertyDescriptorを構築します。
    PropertyDescriptor​(String propertyName, Class<?> beanClass, String readMethodName, String writeMethodName)
    このコンストラクタは、単純なプロパティ名と、プロパティの読み込みおよび書込み用のメソッド名を引数に取ります。
    PropertyDescriptor​(String propertyName, Method readMethod, Method writeMethod)
    このコンストラクタは、単純なプロパティ名と、プロパティの読み込みおよび書込み用のMethodオブジェクトを引数に取ります。