|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.turbine.services.template.mapper.BaseMapper
org.apache.turbine.services.template.mapper.BaseTemplateMapper
This is a mapper like the BaseMapper but it returns its results with the extension of the template names passed or (if no extension is passed), the default extension.
Field Summary | |
protected java.lang.String |
prefix
A prefix which is used to separate the various template types (screen, layouts, navigation) |
Fields inherited from class org.apache.turbine.services.template.mapper.BaseMapper |
defaultProperty, separator |
Constructor Summary | |
BaseTemplateMapper()
Default C'tor. |
Method Summary | |
java.lang.String |
getDefaultName(java.lang.String template)
Returns the default name for the passed Template. |
java.lang.String |
getPrefix()
Get the Prefix value. |
void |
setPrefix(java.lang.String prefix)
Set the Prefix value. |
Methods inherited from class org.apache.turbine.services.template.mapper.BaseMapper |
doMapping, getCacheSize, getDefaultProperty, getMappedName, getSeparator, init, isUseCache, setCacheSize, setDefaultProperty, setSeparator, setUseCache |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String prefix
Constructor Detail |
public BaseTemplateMapper()
Method Detail |
public java.lang.String getPrefix()
public void setPrefix(java.lang.String prefix)
prefix
- The new Prefix value.public java.lang.String getDefaultName(java.lang.String template)
getDefaultName
in class BaseMapper
template
- The template name.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |