org.apache.tapestry5.internal.services.meta
Class ContentTypeExtractor

java.lang.Object
  extended by org.apache.tapestry5.internal.services.meta.ContentTypeExtractor
All Implemented Interfaces:
MetaDataExtractor<ContentType>

public class ContentTypeExtractor
extends Object
implements MetaDataExtractor<ContentType>


Constructor Summary
ContentTypeExtractor()
           
 
Method Summary
 void extractMetaData(MutableComponentModel model, ContentType annotation)
          Invoked on the extractor to extract the appropriate value for the annotation and set the meta data on the model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentTypeExtractor

public ContentTypeExtractor()
Method Detail

extractMetaData

public void extractMetaData(MutableComponentModel model,
                            ContentType annotation)
Description copied from interface: MetaDataExtractor
Invoked on the extractor to extract the appropriate value for the annotation and set the meta data on the model.

Specified by:
extractMetaData in interface MetaDataExtractor<ContentType>
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.