public class Nr extends Predicate
JSONValue
is a number representation, in JSON there are two viz. JSONInteger
and JSONDecimal
.public Nr(String aName)
public void validate(JSONValue aValue) throws ValidationException
Validator
aValue
- The JSONValue that has to be validated.ValidationException
- If the validation fails.Copyright © 2012. All Rights Reserved.