| Package | Description |
|---|---|
| com.sdicons.json.validator | |
| com.sdicons.json.validator.impl | |
| com.sdicons.json.validator.impl.predicates |
| Modifier and Type | Method and Description |
|---|---|
void |
JSONValidator.validate(JSONValue aValue)
Validate a JSON value according to the rules described in the
validator rules.
|
void |
Validator.validate(JSONValue aValue)
Validate a JSONValue.
|
| Constructor and Description |
|---|
JSONValidator(JSONObject aValidation)
Construct the validator based on the JSON description.
|
| Modifier and Type | Method and Description |
|---|---|
static Validator |
ValidatorUtil.buildValidator(JSONValue aVal) |
static Validator |
ValidatorUtil.buildValidator(JSONValue aVal,
HashMap<String,Validator> aRuleset) |
static void |
ValidatorUtil.requiresAttribute(JSONObject aTarget,
String aAttrib,
Class aValueType) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Predicate.fail(JSONValue aValue) |
protected void |
Predicate.fail(String aMessage,
JSONValue aValue) |
void |
Complex.validate(JSONValue aValue) |
void |
Bool.validate(JSONValue aValue) |
void |
Not.validate(JSONValue aValue) |
void |
Array.validate(JSONValue aValue) |
void |
Length.validate(JSONValue aValue) |
void |
CustomPredicate.validate(JSONValue aValue) |
void |
Or.validate(JSONValue aValue) |
void |
False.validate(JSONValue aValue) |
void |
Str.validate(JSONValue aValue) |
void |
Properties.validate(JSONValue aValue) |
void |
And.validate(JSONValue aValue) |
void |
Regexp.validate(JSONValue aValue) |
void |
Decimal.validate(JSONValue aValue) |
void |
Int.validate(JSONValue aValue) |
void |
Switch.validate(JSONValue aValue) |
void |
Nr.validate(JSONValue aValue) |
void |
Object.validate(JSONValue aValue) |
void |
Enumeration.validate(JSONValue aValue) |
void |
Content.validate(JSONValue aValue) |
void |
Simple.validate(JSONValue aValue) |
void |
Ref.validate(JSONValue aValue) |
void |
Range.validate(JSONValue aValue) |
void |
Null.validate(JSONValue aValue) |
void |
Let.validate(JSONValue aValue) |
void |
True.validate(JSONValue aValue) |
Copyright © 2013. All Rights Reserved.