Class NonpositiveToNonnegativeJsonParser
java.lang.Object
org.woftnw.eof.io.parse.common.number.range.RangeJsonParser
org.woftnw.eof.io.parse.common.number.range.NonpositiveToNonnegativeJsonParser
- All Implemented Interfaces:
JsonParser<int[]>
Parses a nonpositive-to-nonnegative JSON range object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected NumberJsonParser<Integer> Get the parser to use for the maximum number.protected NumberJsonParser<Integer> Get the parser to use for the minimum number.Methods inherited from class RangeJsonParser
parse
-
Constructor Details
-
NonpositiveToNonnegativeJsonParser
public NonpositiveToNonnegativeJsonParser()
-
-
Method Details
-
getMinParser
Description copied from class:RangeJsonParserGet the parser to use for the minimum number.- Specified by:
getMinParserin classRangeJsonParser- Returns:
- The
NumberJsonParserto use. - See Also:
-
getMaxParser
Description copied from class:RangeJsonParserGet the parser to use for the maximum number.- Specified by:
getMaxParserin classRangeJsonParser- Returns:
- The
NumberJsonParserto use. - See Also:
-