org.apache.cocoon.matching.modular
Class CachingRegexpMatcher
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.cocoon.matching.AbstractRegexpMatcher
org.apache.cocoon.matching.modular.CachingRegexpMatcher
- All Implemented Interfaces:
- Configurable, Disposable, Initializable, LogEnabled, Matcher, PreparableMatcher, Serviceable, ThreadSafe
- public class CachingRegexpMatcher
- extends AbstractRegexpMatcher
- implements Configurable, Initializable, Serviceable, Disposable
Matches against a regular expression. Needs an input module to
obtain value to match against.
Global and local configuration
input-module | Name of the input module used to obtain the value |
parameter-name | Name of the parameter to match * against |
- Version:
- CVS $Id: CachingRegexpMatcher.java 55054 2004-10-19 08:21:39Z cziegeler $
- Author:
- Christian Haul, Sylvain Wallez, 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 |
manager
protected ServiceManager manager
- The service manager instance
CachingRegexpMatcher
public CachingRegexpMatcher()
service
public void service(ServiceManager manager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
configure
public void configure(Configuration config)
throws ConfigurationException
- Specified by:
configure
in interface Configurable
- Throws:
ConfigurationException
initialize
public void initialize()
- Specified by:
initialize
in interface Initializable
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
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.