org.dspace.app.xmlui.aspect.general
Class HandleMatcher
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.dspace.app.xmlui.aspect.general.HandleMatcher
- All Implemented Interfaces:
- org.apache.avalon.framework.logger.LogEnabled, org.apache.cocoon.matching.Matcher
public class HandleMatcher
- extends org.apache.avalon.framework.logger.AbstractLogEnabled
- implements org.apache.cocoon.matching.Matcher
Test the current URL to see if it or any of it's parants match against the
given handle.
- Author:
- Scott Phillips
| Fields inherited from interface org.apache.cocoon.matching.Matcher |
ROLE |
|
Method Summary |
Map |
match(String pattern,
Map objectModel,
org.apache.avalon.framework.parameters.Parameters parameters)
Match method to see if the sitemap parameter exists. |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HandleMatcher
public HandleMatcher()
match
public Map match(String pattern,
Map objectModel,
org.apache.avalon.framework.parameters.Parameters parameters)
throws org.apache.cocoon.sitemap.PatternException
- 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.
- Specified by:
match in interface org.apache.cocoon.matching.Matcher
- Parameters:
pattern - name of sitemap parameter to findobjectModel - environment passed through via cocoon
- Returns:
- null or map containing value of sitemap parameter 'pattern'
- Throws:
org.apache.cocoon.sitemap.PatternException
Copyright © 2011 DuraSpace. All Rights Reserved.