Template-Matcher in Cocoon (2.1 legacy document)
Warning
This document was copied as is from the Cocoon 2.1 documentation, but has not
yet been fully reviewed or moved to its new home.
TemplateMatcher
NAME | template |
WHAT | The TemplateMatcher component is used to serve data in a sitemap pipeline. |
TYPE | Matcher, Sitemap Component |
BLOCK | Core/Block-Name/Scratchpad |
CLASS | org.apache.cocoon.matching.TemplateMatcher |
SINCE | Cocoon X.Y |
CACHEABLE | not applicable |
Description
A general description of TemplateMatcher
Usage
A usage scenario of TemplateMatcher
Sitemap pipeline examples
<map:pipelines> <map:pipeline> <map:match pattern="page-*.html"> <map:generator src="{1}" > <!-- option sitemap parameters --> </map:generator> </map:match> </map:pipeline> ...
Sitemap component configuration example
<map:matchers... <map:matcher name="template" src="org.apache.cocoon.matching.TemplateMatcher" logger="sitemap.matcher.template" /> <!-- optional matcher configuration --> ... </map:matcher> ...
Configuration
Explain the sitemap matcher configuration, options when declaring template matcher
Setup
Explain the sitemap matcher setup, ie options when using template matcher
Effect on Object Model and Sitemap Parameters
Bugs/Caveats
History
MM-DD-YY: initial creation
See also
A general documentation about matchers is available at Matchers and Selectors.