org.apache.cocoon.matching
Class RegexpURIDefaultsMatcher
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.cocoon.matching.AbstractRegexpMatcher
org.apache.cocoon.matching.RegexpURIDefaultsMatcher
- All Implemented Interfaces:
- LogEnabled, Matcher, PreparableMatcher, ThreadSafe
- public class RegexpURIDefaultsMatcher
- extends AbstractRegexpMatcher
Matches the request URIs against a regular expression pattern.
- Since:
- 03 January 2003
- Version:
- CVS $Id: RegexpURIDefaultsMatcher.java 30941 2004-07-29 19:56:58Z vgritsenko $
- Author:
- Bernhard Huber
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 |
RegexpURIDefaultsMatcher
public RegexpURIDefaultsMatcher()
preparedMatch
public Map preparedMatch(Object preparedPattern,
Map objectModel,
Parameters parameters)
- Match the prepared pattern against the value returned by
getMatchString(Map, Parameters)
.
- Specified by:
preparedMatch
in interface PreparableMatcher
- Overrides:
preparedMatch
in class AbstractRegexpMatcher
- Parameters:
preparedPattern
- Description of the ParameterobjectModel
- Description of the Parameterparameters
- Description of the Parameter
- Returns:
- Description of the Return Value
getMatchString
protected String getMatchString(Map objectModel,
Parameters parameters)
- Return the request URI.
- Specified by:
getMatchString
in class AbstractRegexpMatcher
- Parameters:
objectModel
- Description of the Parameterparameters
- Description of the Parameter
- Returns:
- The matchString value
mapDefaults
protected void mapDefaults(Parameters parameters,
Map map)
- Description of the Method
- Parameters:
parameters
- Description of the Parametermap
- Description of the Parameter
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.