The ConfigLoader reads a configuration XML file that contains Decorator definitions
(name, url, init-params) and path-mappings (pattern, name).
These can then be accessed by the getDecoratorByName() methods and getMappedName()
methods respectively.
The DTD for the configuration file in old (deprecated) format is located at
http://www.opensymphony.com/dtds/sitemesh_1_0_decorators.dtd
.
The DTD for the configuration file in new format is located at
http://www.opensymphony.com/dtds/sitemesh_1_5_decorators.dtd
.
Editing the config file will cause it to be auto-reloaded.
This class is used by ConfigDecoratorMapper, and uses PathMapper for pattern matching.
author: Joe Walnes author: Mathias Bogaert version: $Revision: 1.7 $ See Also: com.opensymphony.module.sitemesh.mapper.ConfigDecoratorMapper See Also: com.opensymphony.module.sitemesh.mapper.PathMapper |