Class ZoneItemMatcher
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.matching.AbstractWildcardMatcher
-
- org.apache.cocoon.matching.WildcardURIMatcher
-
- org.ametys.plugins.calendar.events.ZoneItemMatcher
-
- All Implemented Interfaces:
Component,LogEnabled,Serviceable,ThreadSafe,Matcher
public class ZoneItemMatcher extends WildcardURIMatcher implements Serviceable
Matcher which retrieves the zone item from its ID in the request URI and sets it as a request attribute.
-
-
Field Summary
Fields Modifier and Type Field Description protected AmetysObjectResolver_resolverThe ametys object resolver.
-
Constructor Summary
Constructors Constructor Description ZoneItemMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mapmatch(String pattern, Map objectModel, Parameters parameters)voidservice(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
-
_resolver
protected AmetysObjectResolver _resolver
The ametys object resolver.
-
-
Constructor Detail
-
ZoneItemMatcher
public ZoneItemMatcher()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
match
public Map match(String pattern, Map objectModel, Parameters parameters) throws PatternException
- Specified by:
matchin interfaceMatcher- Overrides:
matchin classAbstractWildcardMatcher- Throws:
PatternException
-
-