|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.stripes.controller.UrlBindingParameter
public class UrlBindingParameter
A parameter to a clean URL.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String PARAMETER_NAME_EVENT
protected Class<? extends ActionBean> beanClass
protected String name
protected String value
protected String defaultValue
| Constructor Detail |
|---|
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 value
public 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 parameter
public UrlBindingParameter(UrlBindingParameter prototype,
String value)
UrlBindingParameter except that the parameter's value will
be set to value.
prototype - a parametervalue - the new parameter value| Method Detail |
|---|
public Class<? extends ActionBean> getBeanClass()
ActionBean class to which the UrlBinding applies.
public String getDefaultValue()
public String getName()
public String getValue()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||