|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.share.xml.beans.PropertyDef
org.apache.myfaces.trinidadinternal.share.xml.beans.BasePropertyDef
org.apache.myfaces.trinidadinternal.share.xml.beans.IntrospectionPropertyDef
public class IntrospectionPropertyDef
PropertyDef that uses introspection - specifically, a bean PropertyDescriptor - to define its behavior.
| Constructor Summary | |
|---|---|
IntrospectionPropertyDef(java.beans.PropertyDescriptor descriptor)
Creates an IntrospectionPropertyDef. |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the name of the property definition. |
java.lang.Class<?> |
getPropertyType()
Returns the property type to which all non-null values of this property must be assignable. |
java.lang.Object |
getValue(ParseContext context,
java.lang.Object bean)
Retrieves the value of this property from the bean. |
void |
setValue(ParseContext context,
java.lang.Object bean,
java.lang.Object value)
Stores a value of this property on the bean. |
| Methods inherited from class org.apache.myfaces.trinidadinternal.share.xml.beans.BasePropertyDef |
|---|
parseText |
| Methods inherited from class org.apache.myfaces.trinidadinternal.share.xml.beans.PropertyDef |
|---|
parseText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntrospectionPropertyDef(java.beans.PropertyDescriptor descriptor)
descriptor - the PropertyDescriptor defining how
the property can be set and retrieved.| Method Detail |
|---|
public java.lang.String getName()
getName in class PropertyDefpublic java.lang.Class<?> getPropertyType()
PropertyDef
getPropertyType in class PropertyDef
public java.lang.Object getValue(ParseContext context,
java.lang.Object bean)
PropertyDef
getValue in class PropertyDef
public void setValue(ParseContext context,
java.lang.Object bean,
java.lang.Object value)
PropertyDef
setValue in class PropertyDef
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||