org.apache.cocoon.matching.modular
Class WildcardMatcher
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.matching.AbstractWildcardMatcher
org.apache.cocoon.matching.modular.WildcardMatcher
- All Implemented Interfaces:
- Component, Composable, Configurable, LogEnabled, ThreadSafe, Matcher
public class WildcardMatcher
- extends AbstractWildcardMatcher
- implements Configurable, Composable
Matches against a wildcard 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: WildcardMatcher.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- 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 ComponentManager manager
- The component manager instance
WildcardMatcher
public WildcardMatcher()
compose
public void compose(ComponentManager manager)
throws ComponentException
- Set the current
ComponentManager
instance used by this
Composable
.
- Specified by:
compose
in interface Composable
- Throws:
ComponentException
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-2010 The Apache Software Foundation. All Rights Reserved.