| java.lang.Object org.apache.cocoon.matching.ParameterMatcher
ParameterMatcher | public class ParameterMatcher implements Matcher,ThreadSafe(Code) | | This class allows for matching based on a parameter provided from the sitemap.
If the specified sitemap parameter exists, its value is retrieved for later
sitemap substitution.
Example:
<map:match type="parameter" pattern="dest">
<map:redirect-to uri="{1}"/>
</map:match>
author: Vadim Gritsenko version: CVS $Id: ParameterMatcher.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
public Map | match(String pattern, Map objectModel, Parameters parameters) Match method to see if the sitemap parameter exists. |
match | public Map match(String pattern, Map objectModel, Parameters parameters)(Code) | | Match method to see if the sitemap parameter exists. If it does
have a value the parameter added to the array list for later
sitemap substitution.
Parameters: pattern - name of sitemap parameter to find Parameters: objectModel - environment passed through via cocoon null or map containing value of sitemap parameter 'pattern' |
|
|