org.apache.cocoon.matching
Class RegexpSessionAttributeMatcher

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.matching.AbstractPreparableMatcher
          extended by org.apache.cocoon.matching.AbstractRegexpMatcher
              extended by org.apache.cocoon.matching.RegexpSessionAttributeMatcher
All Implemented Interfaces:
Component, Configurable, LogEnabled, ThreadSafe, Matcher, PreparableMatcher

public class RegexpSessionAttributeMatcher
extends AbstractRegexpMatcher
implements Configurable

Matches a session attribute against a regular expression.

Global and local configuration

attribute-nameString identifying the session attribute

Version:
CVS $Id: RegexpSessionAttributeMatcher.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Vadim Gritsenko

Field Summary
 
Fields inherited from interface org.apache.cocoon.matching.Matcher
ROLE
 
Constructor Summary
RegexpSessionAttributeMatcher()
           
 
Method Summary
 void configure(Configuration config)
           
protected  String getMatchString(Map objectModel, Parameters parameters)
          Get the string to test against the regular expression.
 
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.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
 

Constructor Detail

RegexpSessionAttributeMatcher

public RegexpSessionAttributeMatcher()
Method Detail

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: AbstractRegexpMatcher
Get the string to test against the regular expression. To be defined by concrete subclasses.

Specified by:
getMatchString in class AbstractRegexpMatcher


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.