jfun.yan.xml.nut
Class NutIntrospector

java.lang.Object
  extended by jfun.yan.xml.nut.NutIntrospector
All Implemented Interfaces:
java.io.Serializable

public class NutIntrospector
extends java.lang.Object
implements java.io.Serializable

Utility class to run introspection on a Nut class to get NutDescriptor.

Author:
Ben Yu Nov 9, 2005 11:34:52 PM
See Also:
Serialized Form

Constructor Summary
NutIntrospector()
           
 
Method Summary
 NutDescriptor getNutDescriptor(java.lang.Class type)
          Get a NutDescriptor for a Nut class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NutIntrospector

public NutIntrospector()
Method Detail

getNutDescriptor

public NutDescriptor getNutDescriptor(java.lang.Class type)
                               throws java.beans.IntrospectionException
Get a NutDescriptor for a Nut class.

Parameters:
type - the class.
Returns:
the NutDescriptor object.
Throws:
java.beans.IntrospectionException - when introspection fails.