public class UrlMapping extends Object
| Constructor and Description |
|---|
UrlMapping() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(UrlAction action) |
void |
addPathValidator(PathValidator v) |
boolean |
addQueryParam(QueryParameter param) |
boolean |
equals(Object obj) |
List<UrlAction> |
getActions() |
String |
getId()
Get this mapping's ID (not prefixed with "pretty:")
|
String |
getParentId() |
List<PathValidator> |
getPathValidators() |
String |
getPattern() |
URLPatternParser |
getPatternParser()
Get this patterns pattern parser instance.
|
List<QueryParameter> |
getQueryParams() |
List<PathValidator> |
getValidatorsForPathParam(PathParameter param)
Return a list of validators that belong to the given parameter.
|
String |
getViewId() |
int |
hashCode() |
boolean |
hasParent() |
boolean |
isDynaView()
Return whether or not this Mapping requires DynaView capabilities
|
boolean |
isOnPostback() |
boolean |
isOutbound() |
boolean |
matches(URL url)
Test this mapping against a given URL.
|
void |
setActions(List<UrlAction> actions) |
void |
setId(String id)
Set this mapping's ID (not prefixed with "pretty:")
|
void |
setOnPostback(boolean onPostback) |
void |
setOutbound(boolean outbound) |
void |
setParentId(String parentId) |
void |
setPathValidators(List<PathValidator> pathValidators) |
void |
setPattern(String pattern) |
void |
setQueryParams(List<QueryParameter> queryParams) |
void |
setViewId(String viewId) |
String |
toString() |
public boolean isDynaView()
public URLPatternParser getPatternParser()
public List<PathValidator> getValidatorsForPathParam(PathParameter param)
public boolean matches(URL url)
public String getId()
public void setId(String id)
public String getViewId()
public void setViewId(String viewId)
public void addAction(UrlAction action)
public void addPathValidator(PathValidator v)
public List<PathValidator> getPathValidators()
public void setPathValidators(List<PathValidator> pathValidators)
public String getPattern()
public void setPattern(String pattern)
public boolean addQueryParam(QueryParameter param)
public List<QueryParameter> getQueryParams()
public void setQueryParams(List<QueryParameter> queryParams)
public boolean isOutbound()
public void setOutbound(boolean outbound)
public boolean isOnPostback()
public void setOnPostback(boolean onPostback)
public String getParentId()
public void setParentId(String parentId)
public boolean hasParent()
Copyright © 2014 OCPsoft. All Rights Reserved.