org.apache.cocoon.matching.modular
Class CachingRegexpMatcher
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.matching.AbstractPreparableMatcher
org.apache.cocoon.matching.AbstractRegexpMatcher
org.apache.cocoon.matching.modular.CachingRegexpMatcher
- All Implemented Interfaces:
- Configurable, Disposable, Initializable, org.apache.cocoon.matching.Matcher, org.apache.cocoon.matching.PreparableMatcher, Serviceable, ThreadSafe
- public class CachingRegexpMatcher
- extends org.apache.cocoon.matching.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:
- $Id: CachingRegexpMatcher.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Fields inherited from interface org.apache.cocoon.matching.Matcher |
ROLE |
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.cocoon.util.AbstractLogEnabled |
getLogger, setLogger |
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)
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.