Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sun.syndication.feed.impl
Class BeanIntrospector  view BeanIntrospector download BeanIntrospector.java

java.lang.Object
  extended bycom.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.


Field Summary
private static java.util.Map _introspected
           
private static java.lang.String BOOLEAN_GETTER
           
private static java.lang.String GETTER
           
private static java.lang.String SETTER
           
 
Constructor Summary
BeanIntrospector()
           
 
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
 

Field Detail

_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
Constructor Detail

BeanIntrospector

public BeanIntrospector()
Method Detail

getPropertyDescriptors

public static java.beans.PropertyDescriptor[] getPropertyDescriptors(java.lang.Class klass)
                                                              throws java.beans.IntrospectionException

getPDs

private static java.beans.PropertyDescriptor[] getPDs(java.lang.Class klass)
                                               throws java.beans.IntrospectionException

getPDs

private static java.util.Map getPDs(java.lang.reflect.Method[] methods,
                                    boolean setters)
                             throws java.beans.IntrospectionException

merge

private static java.util.List merge(java.util.Map getters,
                                    java.util.Map setters)
                             throws java.beans.IntrospectionException