jaxx.compiler.beans
Class JAXXIntrospector

java.lang.Object
  extended by jaxx.compiler.beans.JAXXIntrospector

public class JAXXIntrospector
extends Object

Performs introspection on a ClassDescriptor. Ideally, I could just have copied Sun's Introspector and changed a few things, but the licensing terms are incompatible. This implementation is incomplete -- it only bothers to report info that JAXX actually checks. It also relaxes some of Introspector's rules a bit, but I don't believe it results in any meaningful incompatibilities.

JAXX uses its own introspector rather than the built-in java.beans.Introspector so that it can introspect ClassDescriptor, not just java.lang.Class.


Method Summary
static JAXXBeanInfo getJAXXBeanInfo(ClassDescriptor classDescriptor)
          Returns the JAXXBeanInfo for a given class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getJAXXBeanInfo

public static JAXXBeanInfo getJAXXBeanInfo(ClassDescriptor classDescriptor)
                                    throws IntrospectionException
Returns the JAXXBeanInfo for a given class.

Parameters:
classDescriptor - the class to introspect
Returns:
the JAXXBeanInfo for the bean class
Throws:
IntrospectionException - if an error occurs


Copyright © 2008-2010 CodeLutin. All Rights Reserved.