Package org.ametys.runtime.cocoon
Class RegexpURIMatcher
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.ametys.runtime.cocoon.RegexpURIMatcher
-
- All Implemented Interfaces:
Component
,LogEnabled
,ThreadSafe
,Matcher
public class RegexpURIMatcher extends AbstractLogEnabled implements Matcher, ThreadSafe
Regexp matcher for URI. Unlike Cocoon's native RegexpMatcher, it uses JDK'sPattern
.
-
-
Constructor Summary
Constructors Constructor Description RegexpURIMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map
match(String pattern, Map objectModel, Parameters parameters)
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Constructor Detail
-
RegexpURIMatcher
public RegexpURIMatcher()
-
-
Method Detail
-
match
public Map match(String pattern, Map objectModel, Parameters parameters) throws PatternException
- Specified by:
match
in interfaceMatcher
- Throws:
PatternException
-
-