public class LocationBasedNavBarEntry extends Object implements NavBarEntry
LocationBasedNavBarEntry class.
Constructor and Description |
---|
LocationBasedNavBarEntry() |
Modifier and Type | Method and Description |
---|---|
DisplayStatus |
evaluate(javax.servlet.http.HttpServletRequest request)
evaluate
|
String |
getLocationMatch()
getLocationMatch
|
String |
getName()
getName
|
String |
getUrl()
getUrl
|
protected boolean |
isLinkMatches(javax.servlet.http.HttpServletRequest request)
isLinkMatches
|
void |
setLocationMatch(String locationMatch)
setLocationMatch
|
void |
setName(String name)
setName
|
void |
setUrl(String url)
setUrl
|
public void setLocationMatch(String locationMatch)
setLocationMatch
locationMatch
- a String
object.public String getUrl()
getUrl
getUrl
in interface NavBarEntry
String
object.public String getName()
getName
getName
in interface NavBarEntry
String
object.public DisplayStatus evaluate(javax.servlet.http.HttpServletRequest request)
evaluate
evaluate
in interface NavBarEntry
request
- a HttpServletRequest
object.DisplayStatus
object.protected boolean isLinkMatches(javax.servlet.http.HttpServletRequest request)
isLinkMatches
request
- a HttpServletRequest
object.Copyright © 2015. All rights reserved.