private static class PortletRequestUtils.StringParser extends PortletRequestUtils.ParameterParser<java.lang.String>
Modifier | Constructor and Description |
---|---|
private |
StringParser() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
doParse(java.lang.String parameter) |
protected java.lang.String |
getType() |
java.lang.String |
validateRequiredString(java.lang.String name,
java.lang.String value) |
java.lang.String[] |
validateRequiredStrings(java.lang.String name,
java.lang.String[] values) |
parse, validateRequiredParameter
protected java.lang.String getType()
getType
in class PortletRequestUtils.ParameterParser<java.lang.String>
protected java.lang.String doParse(java.lang.String parameter) throws java.lang.NumberFormatException
doParse
in class PortletRequestUtils.ParameterParser<java.lang.String>
java.lang.NumberFormatException
public java.lang.String validateRequiredString(java.lang.String name, java.lang.String value) throws PortletRequestBindingException
PortletRequestBindingException
public java.lang.String[] validateRequiredStrings(java.lang.String name, java.lang.String[] values) throws PortletRequestBindingException
PortletRequestBindingException