public class DefaultFactory extends BaseFactory
sitemesh.configfile init param,
or /WEB-INF/sitemesh.xml if not specified, or uses the
default configuration if sitemesh.xml does not exist.
To use the sitemesh.configfile parameter, add the following to your web.xml:
<context-param>
<param-name>sitemesh.configfile</param-name>
<param-value>/WEB-INF/etc/sitemesh.xml</param-value>
</context-param>
| Modifier and Type | Field and Description |
|---|---|
static long |
configCheckMillis |
config, decoratorMapper, excludeUrls, pageParsers| Constructor and Description |
|---|
DefaultFactory(Config config) |
| Modifier and Type | Method and Description |
|---|---|
void |
refresh()
Check if configuration file has been modified, and if so reload it.
|
addExcludeUrl, clearDecoratorMappers, clearExcludeUrls, clearParserMappings, getDecoratorMapper, getDecoratorMapper, getPageParser, isPathExcluded, mapParser, pushDecoratorMapper, shouldParsePagegetInstance