| Constructor and Description |
|---|
JSONValidator(JSONObject aValidation)
Construct the validator based on the JSON description.
|
public JSONValidator(JSONObject aValidation) throws ValidationException
aValidation - The JSON description of the validator.ValidationException - If the JSON description did not represent a validator.public void validate(JSONValue aValue) throws ValidationException
validate in interface ValidatoraValue - ValidationExceptionCopyright © 2013. All Rights Reserved.