|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo2.app.componentxml.ComponentIntrospector
Provides introspection into Echo components. A wrapper for JavaBean APIs to preform introspection on Echo Components. Provides convenience methods to retrieve available property names, types, and other bean-related information.
| Method Summary | |
static ComponentIntrospector |
forName(java.lang.String typeName,
java.lang.ClassLoader classLoader)
Creates a new ComponentIntrospector for a type of
Echo component. |
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.Class |
getObjectClass()
Returns the class being introspected. |
java.lang.Class |
getPropertyClass(java.lang.String propertyName)
Returns the Class of a specific property. |
java.beans.PropertyDescriptor |
getPropertyDescriptor(java.lang.String propertyName)
Returns the PropertyDescriptor for the specified property. |
java.lang.reflect.Method |
getWriteMethod(java.lang.String propertyName)
Returns a write (setter) method for a specific property. |
boolean |
isIndexedProperty(java.lang.String propertyName)
Determines whether a property is an indexed property. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static ComponentIntrospector forName(java.lang.String typeName,
java.lang.ClassLoader classLoader)
throws java.lang.ClassNotFoundException
ComponentIntrospector for a type of
Echo component.
typeName - the type name of Echo componentclassLoader - the class loader from which the type class
may be retrieved
java.lang.ClassNotFoundExceptionpublic 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 getObjectClass()
public java.lang.Class getPropertyClass(java.lang.String propertyName)
Class of a specific property.
propertyName - the name of the property
Class of the propertypublic java.beans.PropertyDescriptor getPropertyDescriptor(java.lang.String propertyName)
PropertyDescriptor for the specified property.
propertyName - the name of the property
PropertyDescriptor associated with the propertypublic java.lang.reflect.Method getWriteMethod(java.lang.String propertyName)
propertyName - the name of the property
public boolean isIndexedProperty(java.lang.String propertyName)
propertyName - the name of the property to query
|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||