public class UrlBindingParameter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Class<? extends ActionBean> |
beanClass |
protected String |
defaultValue |
protected String |
name |
static String |
PARAMETER_NAME_EVENT
The special parameter name for the event to execute
|
protected String |
value |
| Constructor and Description |
|---|
UrlBindingParameter(Class<? extends ActionBean> beanClass,
String name,
String value)
Create a new
UrlBindingParameter with the given name and value. |
UrlBindingParameter(Class<? extends ActionBean> beanClass,
String name,
String value,
String defaultValue)
Create a new
UrlBindingParameter with the given name, value and default value. |
UrlBindingParameter(UrlBindingParameter prototype)
Make an exact copy of the given
UrlBindingParameter. |
UrlBindingParameter(UrlBindingParameter prototype,
String value)
Make a copy of the given
UrlBindingParameter except that the parameter's value will
be set to value. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Class<? extends ActionBean> |
getBeanClass()
Get the
ActionBean class to which the UrlBinding applies. |
String |
getDefaultValue()
Get the parameter's default value, which may be null.
|
String |
getName()
Get the parameter name.
|
String |
getValue()
Return the parameter value that was extracted from a URI.
|
int |
hashCode() |
String |
toString() |
public static final String PARAMETER_NAME_EVENT
protected Class<? extends ActionBean> beanClass
protected String name
protected String value
protected String defaultValue
public UrlBindingParameter(Class<? extends ActionBean> beanClass, String name, String value)
UrlBindingParameter with the given name and value. The
defaultValue will be null.name - parameter namevalue - parameter valuepublic UrlBindingParameter(Class<? extends ActionBean> beanClass, String name, String value, String defaultValue)
UrlBindingParameter with the given name, value and default value.name - parameter namevalue - parameter valuedefaultValue - default value to use if value is nullpublic UrlBindingParameter(UrlBindingParameter prototype)
UrlBindingParameter.prototype - a parameterpublic UrlBindingParameter(UrlBindingParameter prototype, String value)
UrlBindingParameter except that the parameter's value will
be set to value.prototype - a parametervalue - the new parameter valuepublic Class<? extends ActionBean> getBeanClass()
ActionBean class to which the UrlBinding applies.public String getDefaultValue()
public String getName()
public String getValue()
© Copyright 2005-2006, Stripes Development Team.