org.apache.myfaces.extensions.validator.core.metadata.extractor
Class DefaultComponentMetaDataExtractor
java.lang.Object
org.apache.myfaces.extensions.validator.core.metadata.extractor.DefaultComponentMetaDataExtractor
- All Implemented Interfaces:
- MetaDataExtractor
public class DefaultComponentMetaDataExtractor
- extends java.lang.Object
- implements MetaDataExtractor
Default implementation which extracts meta-data (e.g. the annotations) of the value binding of a component.
It extracts the meta-data of the field and the property.
(Also the annotations of super classes and interfaces.)
- Since:
- 1.x.1
- Author:
- Gerhard Petracek
Field Summary |
protected org.apache.commons.logging.Log |
logger
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.commons.logging.Log logger
DefaultComponentMetaDataExtractor
public DefaultComponentMetaDataExtractor()
extract
public PropertyInformation extract(javax.faces.context.FacesContext facesContext,
java.lang.Object object)
- Specified by:
extract
in interface MetaDataExtractor
addPropertyAccessAnnotations
protected void addPropertyAccessAnnotations(java.lang.Class entity,
java.lang.String property,
PropertyInformation propertyInformation)
addFieldAccessAnnotations
protected void addFieldAccessAnnotations(java.lang.Class entity,
java.lang.String property,
PropertyInformation propertyInformation)
addAnnotationToAnnotationEntries
protected void addAnnotationToAnnotationEntries(java.util.List<java.lang.annotation.Annotation> annotations,
PropertyInformation propertyInformation)
createMetaDataEntryForAnnotation
protected MetaDataEntry createMetaDataEntryForAnnotation(java.lang.annotation.Annotation foundAnnotation)
Copyright © 2008 The Apache Software Foundation. All Rights Reserved.