org.apache.cocoon.sitemap.matcher
Class WildcardMatcher.WildcardExpressionRewriter
java.lang.Object
org.apache.cocoon.sitemap.matcher.WildcardMatcher.WildcardExpressionRewriter
- Enclosing class:
- WildcardMatcher
protected static class WildcardMatcher.WildcardExpressionRewriter
- extends Object
The WildcardMatcher.WildcardExpressionRewriter
takes an expression like /abc/{id}/{name}.html and replaces all
placeholders by stars ('*') so that the WildcardHelper can be used. It also provides a list of all results so
that the WildcardHelper results can be matched with the parameters set in the expression.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WildcardMatcher.WildcardExpressionRewriter
public WildcardMatcher.WildcardExpressionRewriter(String originalExpression)
getOriginalExpression
public String getOriginalExpression()
getParameters
public Map<String,String> getParameters()
getParameterPosition
public int getParameterPosition(String parameterName)
getRewrittenExpression
public String getRewrittenExpression()
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.