org.apache.tapestry5.services.meta
Interface MetaDataExtractor<T extends Annotation>

All Known Implementing Classes:
ContentTypeExtractor, FixedExtractor, MetaAnnotationExtractor

public interface MetaDataExtractor<T extends Annotation>

Used to extract a meta data value from a component annotation. Instances of this interface are contributed into the MetaWorker service.

Since:
5.2.0
See Also:
MetaWorker, MetaDataLocator

Method Summary
 void extractMetaData(MutableComponentModel model, T annotation)
          Invoked on the extractor to extract the appropriate value for the annotation and set the meta data on the model.
 

Method Detail

extractMetaData

void extractMetaData(MutableComponentModel model,
                     T annotation)
Invoked on the extractor to extract the appropriate value for the annotation and set the meta data on the model.

Parameters:
model - on which to set meta data
annotation - class annotation, from whose attributes specific data may be extracted


Copyright © 2003-2012 The Apache Software Foundation.