biz.hammurapi.web.menu.matchers
Class NotRequestMatcher
java.lang.Object
biz.hammurapi.web.menu.matchers.NotRequestMatcher
- All Implemented Interfaces:
- RequestMatcher
- public class NotRequestMatcher
- extends java.lang.Object
- implements RequestMatcher
Negates match result of master matcher.
- Version:
- $Revision: 1.1 $
- Author:
- Pavel Vlasov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotRequestMatcher
public NotRequestMatcher(RequestMatcher master)
match
public java.util.List match(javax.servlet.http.HttpServletRequest request)
- Puts self to matched if all of contained matchers match.
- Specified by:
match in interface RequestMatcher
- Parameters:
request -
- Returns:
- Collection of matched matchers.
Returns empty collection if didn't match.
getMaster
public RequestMatcher getMaster()
- Returns:
- Returns the master.
getLastMasterMatchResult
public java.util.Collection getLastMasterMatchResult()
- Returns:
- Returns the lastMasterMatchResult.
getWeight
public int getWeight()
- Specified by:
getWeight in interface RequestMatcher
isMatchQueryString
public boolean isMatchQueryString()
- Specified by:
isMatchQueryString in interface RequestMatcher
- Returns:
- true if this matcher takes query string in consideration
Copyright © 2006 Hammurapi Group. All Rights Reserved.