|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectechopointng.stylesheet.CssObjectIntrospector
public class CssObjectIntrospector
CssObjectIntrospector is a replacement for
ComponentIntrospector that reports JavaBeans that have
getters without setters as properties.
| Method Summary | |
|---|---|
static CssObjectIntrospector |
forName(java.lang.String typeName,
java.lang.ClassLoader classLoader)
Creates a new CssObjectIntrospector for a type of Object |
java.util.Iterator |
getConstantNames()
Retrieves the names of all constants. |
java.lang.Object |
getConstantValue(java.lang.String constantName)
Retrieves the value of the constant with the specified name. |
java.lang.reflect.Constructor |
getConstructor(java.lang.Object[] propertyValues)
This will return a Constructor that can be called
with the specified array of properties as
parameters. |
java.lang.Class |
getIntrospectedClass()
|
java.lang.Class |
getPropertyClass(java.lang.String propertyName)
|
java.beans.PropertyDescriptor |
getPropertyDescriptor(java.lang.String propertyName)
|
java.lang.reflect.Method |
getWriteMethod(java.lang.String propertyName)
|
boolean |
isIndexedProperty(java.lang.String propertyName)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static CssObjectIntrospector forName(java.lang.String typeName,
java.lang.ClassLoader classLoader)
throws java.lang.ClassNotFoundException
CssObjectIntrospector for a type of Object
typeName - the type name of the ObjectclassLoader - the class loader from which the type class may be retrieved
java.lang.ClassNotFoundExceptionpublic java.lang.Class getIntrospectedClass()
public java.util.Iterator getConstantNames()
public java.lang.Object getConstantValue(java.lang.String constantName)
constantName - the name of the constant (unqualified)
getConstantNames()public java.lang.Class getPropertyClass(java.lang.String propertyName)
ComponentIntrospector.getPropertyClass(String)public java.beans.PropertyDescriptor getPropertyDescriptor(java.lang.String propertyName)
ComponentIntrospector.getPropertyDescriptor(String)public java.lang.reflect.Method getWriteMethod(java.lang.String propertyName)
ComponentIntrospector.getWriteMethod(String)public boolean isIndexedProperty(java.lang.String propertyName)
ComponentIntrospector.isIndexedProperty(String)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public java.lang.reflect.Constructor getConstructor(java.lang.Object[] propertyValues)
Constructor that can be called
with the specified array of properties as
parameters. Its returns null if it can
find an appopriate Contructor.
propertyValues - - an array of objects. The types
of these objects will be used to find an appropriate Constructor
Contructor or null if one cant be found
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||