org.hippoecm.hst.site.request
Class BasicHstSiteMapMatcher
java.lang.Object
org.hippoecm.hst.site.request.BasicHstSiteMapMatcher
- All Implemented Interfaces:
- HstSiteMapMatcher
public class BasicHstSiteMapMatcher
- extends Object
- implements HstSiteMapMatcher
BasicHstSiteMapMatcher
- Version:
- $Id: BasicHstSiteMapMatcher.java 31626 2011-12-05 11:49:55Z aschrijvers $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WILDCARD
public static final String WILDCARD
- See Also:
- Constant Field Values
ANY
public static final String ANY
- See Also:
- Constant Field Values
BasicHstSiteMapMatcher
public BasicHstSiteMapMatcher()
setLinkProcessor
public void setLinkProcessor(HstLinkProcessor linkProcessor)
match
public ResolvedSiteMapItem match(String pathInfo,
ResolvedMount resolvedMount)
throws NotFoundException
- Description copied from interface:
HstSiteMapMatcher
- method to match the pathInfo for the hstSite to a
HstSiteMapItem
if possible.
- Specified by:
match
in interface HstSiteMapMatcher
- Parameters:
pathInfo
- the pathInfo that should be matched in the HstSiteMapItem
treeresolvedMount
- the current ResolvedMount
that must matches the request serverName and pathInfo
- Returns:
- a ResolvedSiteMapItem
- Throws:
NotFoundException
- when the pathInfo can not be matched to a HstSiteMapItem
invalidate
public void invalidate()
- Description copied from interface:
HstSiteMapMatcher
- method that can be called if some event is triggered. For example if the
HstSiteMapMatcher
implementing class
holds a cache that needs to be flushed after a change in the HstSiteMap
configuration
- Specified by:
invalidate
in interface HstSiteMapMatcher
Copyright © 2008-2012 Hippo. All Rights Reserved.