public class GuardedPath
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
description |
protected org.dom4j.DocumentFactory |
df |
protected UrlPatternMatcher |
matcher |
protected Roles.Role |
role |
Constructor and Description |
---|
GuardedPath()
Constructor for the GuardedPath object
|
GuardedPath(java.lang.String path) |
GuardedPath(UrlPatternMatcher matcher) |
Modifier and Type | Method and Description |
---|---|
org.dom4j.Element |
asElement() |
java.util.List |
getActions() |
java.lang.String |
getDescription()
Gets the description attribute of the GuardedPath object
|
protected java.lang.String |
getElementName() |
boolean |
getIsActionMapping()
Returns true if this GuardedPath is aligned with a single actionMapping
|
java.lang.String |
getName() |
java.lang.String |
getPath()
Gets the path attribute of the GuardedPath object
|
Roles.Role |
getRole()
Gets the role attribute of the GuardedPath object
|
boolean |
match(java.lang.String path) |
protected static void |
prtln(java.lang.String s) |
void |
setActions(java.util.List actions) |
void |
setDescription(java.lang.String d)
Sets the description attribute of the GuardedPath object
|
void |
setIsActionMapping(boolean b) |
void |
setMatcher(UrlPatternMatcher matcher) |
void |
setRole(Roles.Role role)
Sets the role attribute of the GuardedPath object
|
protected java.lang.String description
protected UrlPatternMatcher matcher
protected Roles.Role role
protected org.dom4j.DocumentFactory df
public GuardedPath()
mapping
- Description of the Parameterdescription
- Description of the Parameterrole
- Description of the Parameterpublic GuardedPath(java.lang.String path)
public GuardedPath(UrlPatternMatcher matcher)
public void setMatcher(UrlPatternMatcher matcher)
public boolean match(java.lang.String path)
protected java.lang.String getElementName()
public java.lang.String getPath()
public java.util.List getActions()
public void setActions(java.util.List actions)
public Roles.Role getRole()
public void setRole(Roles.Role role)
role
- The new role valuepublic java.lang.String getName()
public boolean getIsActionMapping()
public void setIsActionMapping(boolean b)
public java.lang.String getDescription()
public void setDescription(java.lang.String d)
d
- The new description valuepublic org.dom4j.Element asElement()
protected static void prtln(java.lang.String s)