Class Not
- java.lang.Object
-
- com.sdicons.json.validator.impl.predicates.Predicate
-
- com.sdicons.json.validator.impl.predicates.Not
-
-
Constructor Summary
Constructors Constructor Description Not(java.lang.String aName, JSONObject aRule, java.util.HashMap<java.lang.String,Validator> aRuleset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate(JSONValue aValue)
Validate a JSONValue.
-
-
-
Field Detail
-
rule
private Validator rule
-
-
Constructor Detail
-
Not
public Not(java.lang.String aName, JSONObject aRule, java.util.HashMap<java.lang.String,Validator> aRuleset) throws ValidationException
- Throws:
ValidationException
-
-
Method Detail
-
validate
public void validate(JSONValue aValue) throws ValidationException
Description copied from interface:Validator
Validate a JSONValue.- Parameters:
aValue
- The JSONValue that has to be validated.- Throws:
ValidationException
- If the validation fails.
-
-