Class Let
- java.lang.Object
-
- com.sdicons.json.validator.impl.predicates.Predicate
-
- com.sdicons.json.validator.impl.predicates.Let
-
-
Constructor Summary
Constructors Constructor Description Let(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
-
ruleset
private java.util.HashMap<java.lang.String,Validator> ruleset
-
ref
private java.lang.String ref
-
-
Constructor Detail
-
Let
public Let(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.
-
-