public class Ref extends Predicate
{"type":"ref", "*" : "OTHER-RULE" }
Constructor and Description |
---|
Ref(String aName,
JSONObject aRule,
HashMap<String,Validator> aRuleset) |
Ref(String name,
String ref,
Map<String,Validator> table) |
public Ref(String aName, JSONObject aRule, HashMap<String,Validator> aRuleset) throws ValidationException
ValidationException
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.