Package org.ametys.web.repository
Class PageMatcher
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.matching.AbstractWildcardMatcher
-
- org.apache.cocoon.matching.WildcardURIMatcher
-
- org.ametys.web.repository.PageMatcher
-
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,ThreadSafe
,Matcher
public class PageMatcher extends WildcardURIMatcher implements Serviceable
Matcher forPage
s.
-
-
Field Summary
Fields Modifier and Type Field Description private static Pattern
__PAGE_PATH_PATTERN
private SiteManager
_siteManager
-
Constructor Summary
Constructors Constructor Description PageMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map
match(String pattern, Map objectModel, Parameters parameters)
void
service(ServiceManager manager)
-
Methods inherited from class org.apache.cocoon.matching.WildcardURIMatcher
getMatchString
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
__PAGE_PATH_PATTERN
private static final Pattern __PAGE_PATH_PATTERN
-
_siteManager
private SiteManager _siteManager
-
-
Constructor Detail
-
PageMatcher
public PageMatcher()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
match
public Map match(String pattern, Map objectModel, Parameters parameters) throws PatternException
- Specified by:
match
in interfaceMatcher
- Overrides:
match
in classAbstractWildcardMatcher
- Throws:
PatternException
-
-