01: package jaxx.introspection;
02:
03: /** Mirrors the class <code>java.beans.BeanInfo</code>. JAXX uses its own introspector rather than the built-in
04: * <code>java.beans.Introspector</code> so that it can introspect {@link jaxx.reflect.ClassDescriptor},
05: * not just <code>java.lang.Class</code>.
06: */
07: public class JAXXBeanInfo {
08: private JAXXBeanDescriptor beanDescriptor;
09: private JAXXPropertyDescriptor[] propertyDescriptors;
10: private JAXXEventSetDescriptor[] eventSetDescriptors;
11:
12: public JAXXBeanInfo(JAXXBeanDescriptor beanDescriptor,
13: JAXXPropertyDescriptor[] propertyDescriptors,
14: JAXXEventSetDescriptor[] eventSetDescriptors) {
15: this .beanDescriptor = beanDescriptor;
16: this .propertyDescriptors = propertyDescriptors;
17: this .eventSetDescriptors = eventSetDescriptors;
18: }
19:
20: public JAXXBeanDescriptor getJAXXBeanDescriptor() {
21: return beanDescriptor;
22: }
23:
24: public JAXXPropertyDescriptor[] getJAXXPropertyDescriptors() {
25: return propertyDescriptors;
26: }
27:
28: public JAXXEventSetDescriptor[] getJAXXEventSetDescriptors() {
29: return eventSetDescriptors;
30: }
31: }
|