org.springframework.web.bind
Class ServletRequestUtils.StringParser

java.lang.Object
  extended by org.springframework.web.bind.ServletRequestUtils.ParameterParser<java.lang.String>
      extended by org.springframework.web.bind.ServletRequestUtils.StringParser
Enclosing class:
ServletRequestUtils

private static class ServletRequestUtils.StringParser
extends ServletRequestUtils.ParameterParser<java.lang.String>


Constructor Summary
private ServletRequestUtils.StringParser()
           
 
Method Summary
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)
           
 
Methods inherited from class org.springframework.web.bind.ServletRequestUtils.ParameterParser
parse, validateRequiredParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletRequestUtils.StringParser

private ServletRequestUtils.StringParser()
Method Detail

getType

protected java.lang.String getType()
Specified by:
getType in class ServletRequestUtils.ParameterParser<java.lang.String>

doParse

protected java.lang.String doParse(java.lang.String parameter)
                            throws java.lang.NumberFormatException
Specified by:
doParse in class ServletRequestUtils.ParameterParser<java.lang.String>
Throws:
java.lang.NumberFormatException

validateRequiredString

public java.lang.String validateRequiredString(java.lang.String name,
                                               java.lang.String value)
                                        throws ServletRequestBindingException
Throws:
ServletRequestBindingException

validateRequiredStrings

public java.lang.String[] validateRequiredStrings(java.lang.String name,
                                                  java.lang.String[] values)
                                           throws ServletRequestBindingException
Throws:
ServletRequestBindingException