org.apache.tapestry5.internal.services

## Class PageContentTypeAnalyzerImpl

- java.lang.Object
- - org.apache.tapestry5.internal.services.PageContentTypeAnalyzerImpl

- All Implemented Interfaces:
    PageContentTypeAnalyzer

      public class PageContentTypeAnalyzerImpl
      extends Object
      implements PageContentTypeAnalyzer

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PageContentTypeAnalyzerImpl(MetaDataLocator metaDataLocator, String outputCharset)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ContentType` | `findContentType(Page page)` Analyzes the meta-data for the page and identifies the correct `ContentType` (including encoding).

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PageContentTypeAnalyzerImpl

          public PageContentTypeAnalyzerImpl(MetaDataLocator metaDataLocator,
                                             @Symbol(value="tapestry.charset")
                                             String outputCharset)

  - ### Method Detail

    - #### findContentType

          public ContentType findContentType(Page page)

      Description copied from interface: `PageContentTypeAnalyzer`
      Analyzes the meta-data for the page and identifies the correct `ContentType` (including encoding).
      Specified by:
        `findContentType` in interface `PageContentTypeAnalyzer`
      Parameters:
        `page` - to be rendered
      Returns:
        the content type

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.