| uk.org.ponder.rsf.templateresolver.BaseAwareTemplateResolverStrategy
All known Subclasses: uk.org.ponder.rsf.templateresolver.CRITemplateResolverStrategy, uk.org.ponder.rsf.templateresolver.StaticTemplateResolverStrategy,
BaseAwareTemplateResolverStrategy | public interface BaseAwareTemplateResolverStrategy (Code) | | A TemplateResolver which is aware of a particular association between
internal resource paths (as provided to a ResourceLoader) and external
URLs which may be resolved by the client.
author: Antranig Basman (antranig@caret.cam.ac.uk) |
Method Summary | |
public String | getExternalURLBase() Returns the externally usable URL corresponding to the base path
given from getTemplateResourceBase(). | public String | getTemplateResourceBase() The resource base from which access to the physical template file
by the templating engine is to be based. |
getExternalURLBase | public String getExternalURLBase()(Code) | | Returns the externally usable URL corresponding to the base path
given from getTemplateResourceBase(). Will return "" in
the default case that this is a "local" resolver, that is, served from
the current Servlet Container. This is to handle the case where
the resource base should be determined from the incoming request.
|
getTemplateResourceBase | public String getTemplateResourceBase()(Code) | | The resource base from which access to the physical template file
by the templating engine is to be based. The default path is "/"
corresponding to the root of servlet context resources. Should begin
with a /.
see
ViewTemplate for further comments.
|
|
|