|
||||||||||
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
public abstract class 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 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 | |
---|---|
String |
getDefaultName(String template)
Returns the default name for the passed Template. |
String |
getPrefix()
Get the Prefix value. |
void |
setPrefix(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 String prefix
Constructor Detail |
---|
public BaseTemplateMapper()
Method Detail |
---|
public String getPrefix()
public void setPrefix(String prefix)
prefix
- The new Prefix value.public String getDefaultName(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 |