Package org.apache.tapestry5.internal
Class BeanEditContextImpl
java.lang.Object
org.apache.tapestry5.internal.BeanEditContextImpl
- All Implemented Interfaces:
AnnotationProvider,BeanEditContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Annotation>
TgetAnnotation(Class<T> type) Searches for the specified annotation, returning the matching annotation instance.Class<?>
-
Constructor Details
-
BeanEditContextImpl
-
-
Method Details
-
getBeanClass
- Specified by:
getBeanClassin interfaceBeanEditContext- Returns:
- The class of the bean under edit.
-
getAnnotation
Description copied from interface:AnnotationProviderSearches for the specified annotation, returning the matching annotation instance.- Specified by:
getAnnotationin interfaceAnnotationProvider- Parameters:
type- used to select the annotation to return- Returns:
- the annotation, or null if not found
-