org.apache.cocoon.matching
Class RegexpRequestParameterMatcher
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.cocoon.matching.AbstractRegexpMatcher
org.apache.cocoon.matching.RegexpRequestParameterMatcher
- All Implemented Interfaces:
- Configurable, LogEnabled, Matcher, PreparableMatcher, ThreadSafe
- public class RegexpRequestParameterMatcher
- extends AbstractRegexpMatcher
- implements Configurable
Matches a request parameter against a regular expression.
Global and local configuration
parameter-name | Name of the request parameter to
match against |
- Version:
- CVS $Id: RegexpRequestParameterMatcher.java 30941 2004-07-29 19:56:58Z vgritsenko $
- Author:
- Vadim Gritsenko
Fields inherited from interface org.apache.cocoon.matching.Matcher |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexpRequestParameterMatcher
public RegexpRequestParameterMatcher()
configure
public void configure(Configuration config)
throws ConfigurationException
- Specified by:
configure
in interface Configurable
- Throws:
ConfigurationException
getMatchString
protected String getMatchString(Map objectModel,
Parameters parameters)
- Description copied from class:
AbstractRegexpMatcher
- Get the string to test against the regular expression. To be defined
by concrete subclasses.
- Specified by:
getMatchString
in class AbstractRegexpMatcher
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.