|
|||||||||||
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.DirectMapper
The most primitive mapper. It is used for the page objects in the Template service. It never caches and simply returns what is given to it.
Field Summary |
Fields inherited from class org.apache.turbine.services.template.mapper.BaseMapper |
defaultProperty, separator |
Constructor Summary | |
DirectMapper()
Default C'tor. |
Method Summary | |
java.lang.String |
doMapping(java.lang.String template)
Strip off a possible extension, replace all "," with "." about,directions,Driving.vm --> about.directions.Driving |
Methods inherited from class org.apache.turbine.services.template.mapper.BaseMapper |
getCacheSize, getDefaultName, 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 |
Methods inherited from interface org.apache.turbine.services.template.mapper.Mapper |
getCacheSize, getDefaultName, getDefaultProperty, getMappedName, getSeparator, init, isUseCache, setCacheSize, setDefaultProperty, setSeparator, setUseCache |
Constructor Detail |
public DirectMapper()
Method Detail |
public java.lang.String doMapping(java.lang.String template)
doMapping
in class BaseMapper
template
- The template name.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |