public class UrlAction extends Object
| Constructor and Description |
|---|
UrlAction()
Create a new
UrlAction with empty values |
UrlAction(PrettyExpression action)
Creates a new
UrlAction and initialize it with the supplied
PrettyExpression |
UrlAction(String action)
Creates a new
UrlAction and creates a ConstantExpression
for the supplied EL method binding |
UrlAction(String action,
URLAction.PhaseId phaseId)
Creates a new
UrlAction and creates a ConstantExpression
for the supplied EL method binding |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
PrettyExpression |
getAction() |
URLAction.PhaseId |
getPhaseId() |
int |
hashCode() |
boolean |
isInheritable() |
boolean |
onPostback() |
void |
setAction(PrettyExpression action) |
void |
setAction(String action)
Extra setter method creating a
ConstantExpression. |
void |
setInheritable(boolean inheritable) |
void |
setOnPostback(boolean onPostback) |
void |
setPhaseId(URLAction.PhaseId phaseId) |
String |
toString() |
public UrlAction()
UrlAction with empty valuespublic UrlAction(String action)
UrlAction and creates a ConstantExpression
for the supplied EL method bindingaction - String representation of the EL action methodpublic UrlAction(PrettyExpression action)
UrlAction and initialize it with the supplied
PrettyExpressionaction - The expressionpublic UrlAction(String action, URLAction.PhaseId phaseId)
UrlAction and creates a ConstantExpression
for the supplied EL method bindingaction - String representation of the EL action methodphaseId - Phase ID to setpublic URLAction.PhaseId getPhaseId()
public boolean onPostback()
public void setOnPostback(boolean onPostback)
public void setPhaseId(URLAction.PhaseId phaseId)
public PrettyExpression getAction()
public void setAction(PrettyExpression action)
public void setAction(String action)
ConstantExpression. Used only for
Digester only.action - String representation of the EL expressionpublic boolean isInheritable()
public void setInheritable(boolean inheritable)
Copyright © 2014 OCPsoft. All Rights Reserved.