| org.apache.cocoon.matching.Matcher
All known Subclasses: org.apache.cocoon.matching.RequestParameterMatcher, org.apache.cocoon.matching.RequestAttributeMatcher, org.apache.cocoon.matching.HeaderMatcher, org.apache.cocoon.ajax.AjaxRequestMatcher, org.apache.cocoon.matching.AbstractWildcardMatcher, org.apache.cocoon.matching.ParameterMatcher, org.apache.cocoon.matching.MountTableMatcher, org.apache.cocoon.matching.LocaleMatcher, org.apache.cocoon.matching.CookieMatcher, org.apache.cocoon.matching.SessionAttributeMatcher, org.apache.lenya.cms.cocoon.matching.UsecaseRegistrationMatcher,
Matcher | public interface Matcher extends Component(Code) | | author: Giacomo Pati version: CVS $Id: Matcher.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
Map | match(String pattern, Map objectModel, Parameters parameters) Matches the pattern against some Request values
and returns a Map object with replacements
for wildcards contained in the pattern.
Parameters: pattern - The pattern to match against. |
match | Map match(String pattern, Map objectModel, Parameters parameters) throws PatternException(Code) | | Matches the pattern against some Request values
and returns a Map object with replacements
for wildcards contained in the pattern.
Parameters: pattern - The pattern to match against. Depending on theimplementation the pattern can contain wildcardsor regular expressions. Parameters: objectModel - The Map with object of thecalling environment which can be usedto select values this matchers matches against. Map The returned Map object withreplacements for wildcards/regular-expressionscontained in the pattern.If the return value is null there was no match. |
|
|