org.cojen.util
Class BeanIntrospector
java.lang.Object
org.cojen.util.BeanIntrospector
public class BeanIntrospector
- extends Object
Alternative to the standard Bean introspector. One key difference is that
this introspector ensures interface properties are properly
discovered. Also, indexed properties can have an index of any type.
- Author:
- Brian S O'Neill
Method Summary |
static Map |
getAllProperties(Class clazz)
Returns a Map of all the available properties on a given class including
write-only and indexed properties. |
static void |
main(String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanIntrospector
public BeanIntrospector()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
getAllProperties
public static Map getAllProperties(Class clazz)
- Returns a Map of all the available properties on a given class including
write-only and indexed properties.
- Returns:
- Map an unmodifiable mapping of property
names (Strings) to BeanProperty objects.
Copyright © 2004-2011 Brian S O'Neill. All Rights Reserved.