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