org.apache.cocoon.matching.modular
Class WildcardMatcher

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.cocoon.matching.AbstractPreparableMatcher
          extended byorg.apache.cocoon.matching.AbstractWildcardMatcher
              extended byorg.apache.cocoon.matching.modular.WildcardMatcher
All Implemented Interfaces:
Configurable, LogEnabled, Matcher, PreparableMatcher, Serviceable, ThreadSafe

public class WildcardMatcher
extends AbstractWildcardMatcher
implements Configurable, Serviceable

Matches against a wildcard expression. Needs an input module to obtain value to match against.

Global and local configuration

input-moduleName of the input module used to obtain the value
parameter-nameName of the parameter to match * against

Version:
CVS $Id: WildcardMatcher.java 55054 2004-10-19 08:21:39Z cziegeler $
Author:
Christian Haul, Sylvain Wallez, Vadim Gritsenko

Field Summary
protected  ServiceManager manager
          The service manager instance
 
Fields inherited from interface org.apache.cocoon.matching.Matcher
ROLE
 
Constructor Summary
WildcardMatcher()
           
 
Method Summary
 void configure(Configuration config)
           
protected  String getMatchString(Map objectModel, Parameters parameters)
          Get the string to test against the wildcard expression.
 void service(ServiceManager manager)
           
 
Methods inherited from class org.apache.cocoon.matching.AbstractWildcardMatcher
preparedMatch, preparePattern
 
Methods inherited from class org.apache.cocoon.matching.AbstractPreparableMatcher
match
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

manager

protected ServiceManager manager
The service manager instance

Constructor Detail

WildcardMatcher

public WildcardMatcher()
Method Detail

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

getMatchString

protected String getMatchString(Map objectModel,
                                Parameters parameters)
Description copied from class: AbstractWildcardMatcher
Get the string to test against the wildcard expression. To be defined by concrete subclasses.

Specified by:
getMatchString in class AbstractWildcardMatcher


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.