public class Simple extends Predicate
JSONValue
is a simple value, one of JSONString
, JSONBoolean
,
JSONDecimal
, JSONInteger
or JSONNull
.public Simple(String aName)
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.