com.sdicons.json.validator.impl.predicates
Class Null
java.lang.Object
com.sdicons.json.validator.impl.predicates.Predicate
com.sdicons.json.validator.impl.predicates.Null
- All Implemented Interfaces:
- Validator
public class Null
- extends Predicate
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Null
public Null(String aName,
JSONObject aRule)
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.
Copyright © 2011. All Rights Reserved.