Class ScreenTemplateMapper
- java.lang.Object
- 
- org.apache.turbine.services.template.mapper.BaseMapper
- 
- org.apache.turbine.services.template.mapper.BaseTemplateMapper
- 
- org.apache.turbine.services.template.mapper.ScreenTemplateMapper
 
 
 
- 
- All Implemented Interfaces:
- Mapper
 
 public class ScreenTemplateMapper extends BaseTemplateMapper implements Mapper This is a pretty simple mapper which returns template pathes for a supplied template name. This path can be used by the TemplateEngine to access a certain resource to actually render the template.- Version:
- $Id$
- Author:
- Henning P. Schmiedehausen
 
- 
- 
Field Summary- 
Fields inherited from class org.apache.turbine.services.template.mapper.BaseTemplateMapperprefix
 - 
Fields inherited from class org.apache.turbine.services.template.mapper.BaseMapperdefaultProperty, separator
 
- 
 - 
Constructor SummaryConstructors Constructor Description ScreenTemplateMapper()Default C'tor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdoMapping(String template)Check, whether the provided name exists.- 
Methods inherited from class org.apache.turbine.services.template.mapper.BaseTemplateMappergetDefaultName, getPrefix, setPrefix
 - 
Methods inherited from class org.apache.turbine.services.template.mapper.BaseMappergetCacheSize, getDefaultProperty, getMappedName, getSeparator, init, isUseCache, setCacheSize, setDefaultProperty, setSeparator, setUseCache
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.turbine.services.template.mapper.MappergetCacheSize, getDefaultName, getDefaultProperty, getMappedName, getSeparator, init, isUseCache, setCacheSize, setDefaultProperty, setSeparator, setUseCache
 
- 
 
- 
- 
- 
Constructor Detail- 
ScreenTemplateMapperpublic ScreenTemplateMapper() Default C'tor. If you use this C'tor, you must use the bean setter to set the various properties needed for this mapper before first usage.
 
- 
 - 
Method Detail- 
doMappingpublic String doMapping(String template) Check, whether the provided name exists. Returns null if the screen does not exist.- Specified by:
- doMappingin class- BaseMapper
- Parameters:
- template- The template name.
- Returns:
- The matching screen name.
 
 
- 
 
-