Logo
 
 
 
spacer

Introduction

Matchers are executed during pipeline setup. They decide if a pipeline fragment is used within a pipeline. Usually, the decision is based on a match on the requested URI but matchers exist, that match different things as well. Most often the fragment contained in a matcher has a generator as well as a serializer. This is not a necessity, matchers can be nested while chaining does not work. Related concepts are selectors and actions.

Since this is important, let me repeat it: Matchers are executed during pipeline setup.

Overview

The following section presents the matchers available in Cocoon. It was auto-generated from the java source files.

org.apache.cocoon.matching.RegexpHostMatcher

Matches the target host ("Host" request header) against a regular expression.

Name    
Class   org.apache.cocoon.matching.RegexpHostMatcher  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.cocoon.matching.Matcher  
AllSuperclasses  org.apache.cocoon.matching.AbstractRegexpMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.RegexpHostMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.RegexpTargetHostMatcher

Name    
Class   org.apache.cocoon.matching.RegexpTargetHostMatcher  
Cacheable   false 
AllInterfaces  org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.activity.Initializable
org.apache.avalon.framework.component.Component
org.apache.cocoon.matching.Matcher
org.apache.avalon.framework.thread.ThreadSafe  
AllSuperclasses  org.apache.cocoon.matching.RegexpHostMatcher
org.apache.cocoon.matching.AbstractRegexpMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.RegexpTargetHostMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.RegexpTargetHostMatcherFactory

Name    
Class   org.apache.cocoon.matching.RegexpTargetHostMatcherFactory  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.activity.Initializable
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.cocoon.matching.Matcher  
AllSuperclasses  org.apache.cocoon.matching.RegexpTargetHostMatcher
org.apache.cocoon.matching.RegexpHostMatcher
org.apache.cocoon.matching.AbstractRegexpMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.RegexpTargetHostMatcherFactory"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.WildcardURIMatcher

Match the request URI against a wildcard expression.

Name    
Class   org.apache.cocoon.matching.WildcardURIMatcher  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.cocoon.matching.Matcher  
AllSuperclasses  org.apache.cocoon.matching.AbstractWildcardMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.WildcardURIMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.WildcardURIMatcherFactory

Name    
Class   org.apache.cocoon.matching.WildcardURIMatcherFactory  
Cacheable   false 
AllInterfaces  org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.activity.Initializable
org.apache.avalon.framework.component.Component
org.apache.cocoon.matching.Matcher
org.apache.avalon.framework.thread.ThreadSafe  
AllSuperclasses  org.apache.cocoon.matching.WildcardURIMatcher
org.apache.cocoon.matching.AbstractWildcardMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.WildcardURIMatcherFactory"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.WildcardSessionAttributeMatcher

Matches a session attribute against a wildcard expression.

Name    
Class   org.apache.cocoon.matching.WildcardSessionAttributeMatcher  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.cocoon.matching.Matcher  
AllSuperclasses  org.apache.cocoon.matching.AbstractWildcardMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.WildcardSessionAttributeMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.RegexpHeaderMatcher

Matches a request header (e.g.

Name    
Class   org.apache.cocoon.matching.RegexpHeaderMatcher  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.cocoon.matching.Matcher  
AllSuperclasses  org.apache.cocoon.matching.AbstractRegexpMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.RegexpHeaderMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.RequestAttributeMatcher

This class allows for matching based on a request attribute.

Name    
Class   org.apache.cocoon.matching.RequestAttributeMatcher  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.cocoon.matching.Matcher  
AllSuperclasses  java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.RequestAttributeMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.WildcardRequestAttributeMatcher

Matches a request attribute against a wildcard expression.

Name    
Class   org.apache.cocoon.matching.WildcardRequestAttributeMatcher  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.cocoon.matching.Matcher  
AllSuperclasses  org.apache.cocoon.matching.AbstractWildcardMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.WildcardRequestAttributeMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.WildcardHeaderMatcher

Matches a request header (e.g.

Name    
Class   org.apache.cocoon.matching.WildcardHeaderMatcher  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.cocoon.matching.Matcher  
AllSuperclasses  org.apache.cocoon.matching.AbstractWildcardMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.WildcardHeaderMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.WildcardHeaderMatcherFactory

Name    
Class   org.apache.cocoon.matching.WildcardHeaderMatcherFactory  
Cacheable   false 
AllInterfaces  org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.activity.Initializable
org.apache.avalon.framework.component.Component
org.apache.cocoon.matching.Matcher
org.apache.avalon.framework.thread.ThreadSafe  
AllSuperclasses  org.apache.cocoon.matching.WildcardHeaderMatcher
org.apache.cocoon.matching.AbstractWildcardMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.WildcardHeaderMatcherFactory"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.RequestParameterMatcher

This class allows for matching based on a request parameter.

Name    
Class   org.apache.cocoon.matching.RequestParameterMatcher  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.cocoon.matching.Matcher  
AllSuperclasses  java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.RequestParameterMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.WildcardRequestParameterMatcher

Matches a request parameter against a wildcard expression.

Name    
Class   org.apache.cocoon.matching.WildcardRequestParameterMatcher  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.cocoon.matching.Matcher  
AllSuperclasses  org.apache.cocoon.matching.AbstractWildcardMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.WildcardRequestParameterMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.WildcardParameterValueMatcher

Name    
Class   org.apache.cocoon.matching.WildcardParameterValueMatcher  
Cacheable   false 
AllInterfaces  org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.activity.Initializable
org.apache.avalon.framework.component.Component
org.apache.cocoon.matching.Matcher
org.apache.avalon.framework.thread.ThreadSafe  
AllSuperclasses  org.apache.cocoon.matching.WildcardRequestParameterMatcher
org.apache.cocoon.matching.AbstractWildcardMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.WildcardParameterValueMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.WildcardParameterValueMatcherFactory

Name    
Class   org.apache.cocoon.matching.WildcardParameterValueMatcherFactory  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.activity.Initializable
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.cocoon.matching.Matcher  
AllSuperclasses  org.apache.cocoon.matching.WildcardParameterValueMatcher
org.apache.cocoon.matching.WildcardRequestParameterMatcher
org.apache.cocoon.matching.AbstractWildcardMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.WildcardParameterValueMatcherFactory"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.ParameterMatcher

This class allows for matching based on a parameter provided from the sitemap.

Name    
Class   org.apache.cocoon.matching.ParameterMatcher  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.cocoon.matching.Matcher  
AllSuperclasses  java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.ParameterMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.WildcardHostMatcher

Matches the target host ("Host" request header) against a wildcard expression.

Name    
Class   org.apache.cocoon.matching.WildcardHostMatcher  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.cocoon.matching.Matcher  
AllSuperclasses  org.apache.cocoon.matching.AbstractWildcardMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.WildcardHostMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.RegexpSessionAttributeMatcher

Matches a session attribute against a regular expression.

Name    
Class   org.apache.cocoon.matching.RegexpSessionAttributeMatcher  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.cocoon.matching.Matcher  
AllSuperclasses  org.apache.cocoon.matching.AbstractRegexpMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.RegexpSessionAttributeMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.RegexpParameterMatcher

Matches a sitemap parameter against a regular expression.

Name    
Class   org.apache.cocoon.matching.RegexpParameterMatcher  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.cocoon.matching.Matcher  
AllSuperclasses  org.apache.cocoon.matching.AbstractRegexpMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.RegexpParameterMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.CookieMatcher

Matches cookies agains given name.

Name    
Class   org.apache.cocoon.matching.CookieMatcher  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.component.Component
org.apache.cocoon.matching.Matcher  
AllSuperclasses  org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version   

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.CookieMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.RegexpRequestAttributeMatcher

Matches a request attribute against a regular expression.

Name    
Class   org.apache.cocoon.matching.RegexpRequestAttributeMatcher  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.cocoon.matching.Matcher  
AllSuperclasses  org.apache.cocoon.matching.AbstractRegexpMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.RegexpRequestAttributeMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.RegexpURIMatcher

Matches the request URIs against a regular expression pattern.

Name    
Class   org.apache.cocoon.matching.RegexpURIMatcher  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.cocoon.matching.Matcher  
AllSuperclasses  org.apache.cocoon.matching.AbstractRegexpMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.RegexpURIMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.RegexpURIMatcherFactory

Name    
Class   org.apache.cocoon.matching.RegexpURIMatcherFactory  
Cacheable   false 
AllInterfaces  org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.activity.Initializable
org.apache.avalon.framework.component.Component
org.apache.cocoon.matching.Matcher
org.apache.avalon.framework.thread.ThreadSafe  
AllSuperclasses  org.apache.cocoon.matching.RegexpURIMatcher
org.apache.cocoon.matching.AbstractRegexpMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.RegexpURIMatcherFactory"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.RequestParamMatcher

Name    
Class   org.apache.cocoon.matching.RequestParamMatcher  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.component.Component
org.apache.cocoon.matching.Matcher
org.apache.avalon.framework.thread.ThreadSafe  
AllSuperclasses  org.apache.cocoon.matching.RequestParameterMatcher
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.RequestParamMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.RegexpRequestParameterMatcher

Matches a request parameter against a regular expression.

Name    
Class   org.apache.cocoon.matching.RegexpRequestParameterMatcher  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.cocoon.matching.Matcher  
AllSuperclasses  org.apache.cocoon.matching.AbstractRegexpMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.RegexpRequestParameterMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.SessionAttributeMatcher

This class allows for matching based on a session attribute.

Name    
Class   org.apache.cocoon.matching.SessionAttributeMatcher  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.cocoon.matching.Matcher  
AllSuperclasses  java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.SessionAttributeMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.WildcardParameterMatcher

Matches a sitemap parameter against a wildcard expression.

Name    
Class   org.apache.cocoon.matching.WildcardParameterMatcher  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.cocoon.matching.Matcher  
AllSuperclasses  org.apache.cocoon.matching.AbstractWildcardMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.WildcardParameterMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.HeaderMatcher

This class allows for matching based on a request header.

Name    
Class   org.apache.cocoon.matching.HeaderMatcher  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.cocoon.matching.Matcher  
AllSuperclasses  java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.HeaderMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.WildcardSessionAttributeMatcherFactory

Name    
Class   org.apache.cocoon.matching.WildcardSessionAttributeMatcherFactory  
Cacheable   false 
AllInterfaces  org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.logger.Loggable
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.activity.Initializable
org.apache.avalon.framework.component.Component
org.apache.cocoon.matching.Matcher
org.apache.avalon.framework.thread.ThreadSafe  
AllSuperclasses  org.apache.cocoon.matching.WildcardSessionAttributeMatcher
org.apache.cocoon.matching.AbstractWildcardMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.WildcardSessionAttributeMatcherFactory"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.modular.WildcardMatcher

Matches against a wildcard expression.

Name    
Class   org.apache.cocoon.matching.modular.WildcardMatcher  
Cacheable   false 
AllInterfaces  org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.component.Component
org.apache.avalon.framework.thread.ThreadSafe
org.apache.cocoon.matching.Matcher
org.apache.avalon.framework.component.Composable  
AllSuperclasses  org.apache.cocoon.matching.AbstractWildcardMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.modular.WildcardMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>

org.apache.cocoon.matching.modular.CachingWildcardMatcher

Matches against a wildcard expression.

Name    
Class   org.apache.cocoon.matching.modular.CachingWildcardMatcher  
Cacheable   false 
AllInterfaces  org.apache.cocoon.matching.Matcher
org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.activity.Initializable
org.apache.avalon.framework.activity.Disposable
org.apache.avalon.framework.thread.ThreadSafe
org.apache.avalon.framework.logger.Loggable
org.apache.cocoon.matching.PreparableMatcher
org.apache.avalon.framework.component.Composable
org.apache.avalon.framework.component.Component  
AllSuperclasses  org.apache.cocoon.matching.AbstractWildcardMatcher
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.avalon.framework.logger.AbstractLoggable
java.lang.Object  
Version  CVS $Id: matchers-ref.xml,v 1.1 2002/05/13 18:33:27 HuberB1 Exp $  

Sitemap Definition

Matchers sitemap definition:

<map:matchers default="wildcard">
  ...
  <map:matcher name="" 
    src="org.apache.cocoon.matching.modular.CachingWildcardMatcher"/>
  ...
</map:matchers>

Sitemap Usage

Matchers usage example:

<map:pipeline>
  <map:match type="" pattern="*foo*bar"/>
    ...
    <map:serialize name="html" ... />
    ...
  </map:match>
  ...
</map:pipeline>
spacer

Events
Party 1
Party 2

spacer
 
 
(C) 2001 Huber Bernhard