- All Implemented Interfaces:
- org.apache.avalon.framework.logger.LogEnabled, org.apache.cocoon.matching.Matcher
public class ThemeMatcher
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements org.apache.cocoon.matching.Matcher
This class determines the correct Theme to apply to the URL. This is
determined by the Theme rules defined in the xmlui.xml configuration file.
Each rule is evaluated in order and the first rule to match is the selected
Theme.
Once the Theme has been selected the following sitemap parameters are
provided: {themeName} is a unique name for the Theme, and {theme} is the
theme's path.
- Author:
- Scott Phillips