org.apache.cocoon.sitemap.matcher
Class WildcardMatcher

java.lang.Object
  extended by org.apache.cocoon.sitemap.matcher.WildcardMatcher
All Implemented Interfaces:
Matcher

public class WildcardMatcher
extends Object
implements Matcher


Nested Class Summary
static class WildcardMatcher.UnsupportedNamedWildcardExpressionException
           
protected static class WildcardMatcher.WildcardExpressionRewriter
          The WildcardMatcher.WildcardExpressionRewriter takes an expression like /abc/{id}/{name}.html and replaces all placeholders by stars ('*') so that the WildcardHelper can be used.
 
Constructor Summary
WildcardMatcher()
           
 
Method Summary
 Map<String,String> match(String expression, String testValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WildcardMatcher

public WildcardMatcher()
Method Detail

match

public Map<String,String> match(String expression,
                                String testValue)
Specified by:
match in interface Matcher


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.