|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.services.CoercingPropertyConduitWrapper
public class CoercingPropertyConduitWrapper
| Constructor Summary | |
|---|---|
CoercingPropertyConduitWrapper(PropertyConduit conduit,
TypeCoercer coercer)
|
|
| Method Summary | ||
|---|---|---|
Object |
get(Object instance)
Reads the property from the instance. |
|
|
getAnnotation(Class<T> annotationClass)
Searches for the specified annotation, returning the matching annotation instance. |
|
Class |
getPropertyType()
Returns the type of the property read or updated by the conduit. |
|
void |
set(Object instance,
Object value)
Changes the current value of the property. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CoercingPropertyConduitWrapper(PropertyConduit conduit,
TypeCoercer coercer)
| Method Detail |
|---|
public Object get(Object instance)
PropertyConduit
get in interface PropertyConduitinstance - object containing the property
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
AnnotationProvider
getAnnotation in interface AnnotationProviderannotationClass - used to select the annotation to return
public Class getPropertyType()
PropertyConduit
getPropertyType in interface PropertyConduit
public void set(Object instance,
Object value)
PropertyConduit
set in interface PropertyConduitinstance - object containing the propertyvalue - to change the property to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||