ninja.params
Class ParamParsers.LongParamParser
java.lang.Object
ninja.params.ParamParsers.LongParamParser
- All Implemented Interfaces:
- ParamParser<Long>
- Enclosing class:
- ParamParsers
public static class ParamParsers.LongParamParser
- extends Object
- implements ParamParser<Long>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParamParsers.LongParamParser
public ParamParsers.LongParamParser()
parseParameter
public Long parseParameter(String field,
String parameterValue,
Validation validation)
- Description copied from interface:
ParamParser
- Parse the given parameter value
- Specified by:
parseParameter
in interface ParamParser<Long>
- Parameters:
field
- The field that is being parsedparameterValue
- The value to parse. May be null.validation
- The validation context.
- Returns:
- The parsed parameter value. May be null.
getParsedType
public Class<Long> getParsedType()
- Description copied from interface:
ParamParser
- Get the type that this parser parses to
- Specified by:
getParsedType
in interface ParamParser<Long>
- Returns:
- The type
Copyright © 2012. All Rights Reserved.