org.apache.cocoon.matching
Class RegexpRequestParameterMatcher

java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLoggable
        |
        +--org.apache.cocoon.matching.AbstractPreparableMatcher
              |
              +--org.apache.cocoon.matching.AbstractRegexpMatcher
                    |
                    +--org.apache.cocoon.matching.RegexpRequestParameterMatcher
All Implemented Interfaces:
org.apache.avalon.framework.component.Component, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.Loggable, Matcher, PreparableMatcher, org.apache.avalon.framework.thread.ThreadSafe

public class RegexpRequestParameterMatcher
extends AbstractRegexpMatcher
implements org.apache.avalon.framework.configuration.Configurable

Matches a request parameter against a regular expression.

Global and local configuration

parameter-nameName of the request parameter to match against

Version:
CVS $Id: RegexpRequestParameterMatcher.java,v 1.4 2002/02/22 07:03:52 cziegeler Exp $
Author:
Vadim Gritsenko

Fields inherited from interface org.apache.cocoon.matching.Matcher
ROLE
 
Constructor Summary
RegexpRequestParameterMatcher()
           
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration config)
           
protected  java.lang.String getMatchString(java.util.Map objectModel, org.apache.avalon.framework.parameters.Parameters parameters)
          Get the string to test against the regular expression.
 
Methods inherited from class org.apache.cocoon.matching.AbstractRegexpMatcher
preparedMatch, preparePattern
 
Methods inherited from class org.apache.cocoon.matching.AbstractPreparableMatcher
match
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable
getLogger, setLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexpRequestParameterMatcher

public RegexpRequestParameterMatcher()
Method Detail

configure

public void configure(org.apache.avalon.framework.configuration.Configuration config)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable

getMatchString

protected java.lang.String getMatchString(java.util.Map objectModel,
                                          org.apache.avalon.framework.parameters.Parameters parameters)
Description copied from class: AbstractRegexpMatcher
Get the string to test against the regular expression. To be defined by concrete subclasses.
Overrides:
getMatchString in class AbstractRegexpMatcher


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.