# RegexpURIDefaultsMatcher in Cocoon

0.9
Technical document

This document describes the RegexpURIDefaultsMatcher of Cocoon.

RegexpURIDefaultsMatcher

NAME | template
WHAT | The `RegexpURIDefaultsMatcher` component is used to serve data in a sitemap pipeline.
TYPE | Matcher, Sitemap Component
BLOCK | Core/Block-Name/Scratchpad
CLASS | org.apache.cocoon.matching.RegexpURIDefaultsMatcher
SINCE | Cocoon X.Y
CACHEABLE | not applicable

Description

A general description of RegexpURIDefaultsMatcher

Usage

A usage scenario of RegexpURIDefaultsMatcher

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.RegexpURIDefaultsMatcher"
        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.