public class ActionPath
extends java.lang.Object
| Constructor and Description |
|---|
ActionPath(HotActionMapping mapping)
Constructor for the ActionPath object
|
| Modifier and Type | Method and Description |
|---|---|
org.dom4j.Element |
asElement() |
java.lang.String |
getDescription()
Gets the description attribute of the GuardedPath object
|
java.lang.String |
getName() |
java.lang.String |
getPath()
Gets the path attribute of the ActionPath object
|
Roles.Role |
getRole() |
static Roles.Role |
getRole(org.apache.struts.action.ActionMapping actionMapping)
Helper method to extract a single role from a roleStr (like the one returned from
ActionMapping.getRoles()) that in principle could return mulitiple values.
|
void |
setDescription(java.lang.String description)
Sets the description attribute of the GuardedPath object
|
void |
setRole(Roles.Role role) |
public ActionPath(HotActionMapping mapping)
mapping - Description of the Parameterdescription - Description of the Parameterrole - Description of the Parameterpublic java.lang.String getPath()
public java.lang.String getName()
public Roles.Role getRole()
public static Roles.Role getRole(org.apache.struts.action.ActionMapping actionMapping)
public void setRole(Roles.Role role)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
d - The new description valuepublic org.dom4j.Element asElement()