com.sun.syndication.feed.impl
Class BeanIntrospector
java.lang.Object
com.sun.syndication.feed.impl.BeanIntrospector
public class BeanIntrospector
- extends java.lang.Object
Obtains all property descriptors from a bean (interface or implementation).
The java.beans.Introspector does not process the interfaces hierarchy chain, this one does.
- Author:
- Alejandro Abdelnur
Method Summary |
private static java.beans.PropertyDescriptor[] |
getPDs(java.lang.Class klass)
|
private static java.util.Map |
getPDs(java.lang.reflect.Method[] methods,
boolean setters)
|
static java.beans.PropertyDescriptor[] |
getPropertyDescriptors(java.lang.Class klass)
|
private static java.util.List |
merge(java.util.Map getters,
java.util.Map setters)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_introspected
private static final java.util.Map _introspected
SETTER
private static final java.lang.String SETTER
- See Also:
- Constant Field Values
GETTER
private static final java.lang.String GETTER
- See Also:
- Constant Field Values
BOOLEAN_GETTER
private static final java.lang.String BOOLEAN_GETTER
- See Also:
- Constant Field Values
BeanIntrospector
public BeanIntrospector()
getPropertyDescriptors
public static java.beans.PropertyDescriptor[] getPropertyDescriptors(java.lang.Class klass)
throws java.beans.IntrospectionException
- Throws:
java.beans.IntrospectionException
getPDs
private static java.beans.PropertyDescriptor[] getPDs(java.lang.Class klass)
throws java.beans.IntrospectionException
- Throws:
java.beans.IntrospectionException
getPDs
private static java.util.Map getPDs(java.lang.reflect.Method[] methods,
boolean setters)
throws java.beans.IntrospectionException
- Throws:
java.beans.IntrospectionException
merge
private static java.util.List merge(java.util.Map getters,
java.util.Map setters)
throws java.beans.IntrospectionException
- Throws:
java.beans.IntrospectionException
Copyright © Sun Microsystems. All Rights Reserved.