Package org.apache.tapestry5.internal.services.meta

## Class ContentTypeExtractor

- java.lang.Object
- - org.apache.tapestry5.internal.services.meta.ContentTypeExtractor

- All Implemented Interfaces:
    `MetaDataExtractor<ContentType>`

      public class ContentTypeExtractor
      extends java.lang.Object
      implements MetaDataExtractor<ContentType>

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ContentTypeExtractor()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `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