ninja.template
Class TemplateEngineManagerImpl
java.lang.Object
ninja.template.TemplateEngineManagerImpl
- All Implemented Interfaces:
- TemplateEngineManager
public class TemplateEngineManagerImpl
- extends Object
- implements TemplateEngineManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateEngineManagerImpl
@Inject
public TemplateEngineManagerImpl(com.google.inject.Provider<TemplateEngineFreemarker> templateEngineFreemarker,
com.google.inject.Provider<TemplateEngineJsonGson> templateEngineJsonGson,
com.google.inject.Injector injector)
getTemplateEngineForContentType
public TemplateEngine getTemplateEngineForContentType(String contentType)
- Description copied from interface:
TemplateEngineManager
- Find the template engine for the given content type
- Specified by:
getTemplateEngineForContentType
in interface TemplateEngineManager
- Parameters:
contentType
- The content type
- Returns:
- The template engine, if found
Copyright © 2012. All Rights Reserved.