freemarker.ext.beans2
Class ClassFeatures<T>

java.lang.Object
  extended by freemarker.ext.beans2.ClassFeatures<T>
All Implemented Interfaces:
Features<T>

public class ClassFeatures<T>
extends java.lang.Object
implements Features<T>

Since:
1.9
Version:
$Id: ClassFeatures.java 1111 2005-09-09 11:37:18Z run2000 $
Author:
Nicholas Cull

Constructor Summary
ClassFeatures(java.lang.Class<T> clazz)
           
 
Method Summary
 T[] getEnumValues()
           
 java.lang.reflect.Field getField(java.lang.String name)
           
 java.util.List<java.lang.reflect.Method> getMethods(java.lang.String name)
           
 java.beans.PropertyDescriptor getProperty(java.lang.String name)
           
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassFeatures

public ClassFeatures(java.lang.Class<T> clazz)
Method Detail

getMethods

public java.util.List<java.lang.reflect.Method> getMethods(java.lang.String name)
Specified by:
getMethods in interface Features<T>

getProperty

public java.beans.PropertyDescriptor getProperty(java.lang.String name)
Specified by:
getProperty in interface Features<T>

getField

public java.lang.reflect.Field getField(java.lang.String name)
Specified by:
getField in interface Features<T>

getEnumValues

public T[] getEnumValues()
Specified by:
getEnumValues in interface Features<T>

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class java.lang.Object
Returns:
a string representation of the object.