Class PageContentTypeAnalyzerImpl
- java.lang.Object
-
- org.apache.tapestry5.internal.services.PageContentTypeAnalyzerImpl
-
- All Implemented Interfaces:
PageContentTypeAnalyzer
public class PageContentTypeAnalyzerImpl extends java.lang.Object implements PageContentTypeAnalyzer
-
-
Constructor Summary
Constructors Constructor Description PageContentTypeAnalyzerImpl(MetaDataLocator metaDataLocator, java.lang.String outputCharset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentTypefindContentType(Page page)Analyzes the meta-data for the page and identifies the correctContentType(including encoding).
-
-
-
Constructor Detail
-
PageContentTypeAnalyzerImpl
public PageContentTypeAnalyzerImpl(MetaDataLocator metaDataLocator, @Symbol("tapestry.charset") java.lang.String outputCharset)
-
-
Method Detail
-
findContentType
public ContentType findContentType(Page page)
Description copied from interface:PageContentTypeAnalyzerAnalyzes the meta-data for the page and identifies the correctContentType(including encoding).- Specified by:
findContentTypein interfacePageContentTypeAnalyzer- Parameters:
page- to be rendered- Returns:
- the content type
-
-