|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.stripes.controller.ParameterName
public class ParameterName
Encapsulates the name of a parameter in the HttpServletRequest. Detects whether or not the name refers to an indexed or mapped property.
| Field Summary | |
|---|---|
static Pattern |
pattern
Stores the regular expression that will remove all [] segments. |
| Constructor Summary | |
|---|---|
ParameterName(String name)
Constructs a ParameterName for a given name from the HttpServletRequest. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Checks for equality as efficiently as possible. |
String |
getName()
Always returns the parameter name as passed in to the constructor. |
String |
getStrippedName()
Returns the name with all indexing and mapping components stripped. |
boolean |
isIndexed()
Returns true if the name has indexing or mapping components, otherwise false. |
String |
toString()
Uses the original name as the string representation of the class. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Pattern pattern
| Constructor Detail |
|---|
public ParameterName(String name)
name - a name that may or may not contain indexing or mapping| Method Detail |
|---|
public boolean isIndexed()
public String getName()
public String getStrippedName()
public boolean equals(Object obj)
equals 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 | |||||||||