com.go.trove.util
Class CompleteIntrospector

java.lang.Object
  |
  +--com.go.trove.util.CompleteIntrospector

public class CompleteIntrospector
extends java.lang.Object

A JavaBean Introspector that ensures interface properties are properly discovered.

Version:
1 , 00/12/13
Author:
Brian S O'Neill

Constructor Summary
CompleteIntrospector()
           
 
Method Summary
static java.util.Map getAllProperties(java.lang.Class clazz)
          A function that returns a Map of all the available properties on a given class including write-only properties.
static void main(java.lang.String[] args)
          Test program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompleteIntrospector

public CompleteIntrospector()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Test program.

getAllProperties

public static java.util.Map getAllProperties(java.lang.Class clazz)
                                      throws java.beans.IntrospectionException
A function that returns a Map of all the available properties on a given class including write-only properties. The properties returned is mostly a superset of those returned from the standard JavaBeans Introspector except more properties are made available to interfaces.
Returns:
an unmodifiable mapping of property names (Strings) to PropertyDescriptor objects.