| Package | Description |
|---|---|
| com.sdicons.json.validator | |
| com.sdicons.json.validator.impl | |
| com.sdicons.json.validator.impl.predicates |
| Modifier and Type | Class and Description |
|---|---|
class |
JSONValidator
A validator that accepts a validator description in JSON format.
|
| Modifier and Type | Method and Description |
|---|---|
static Validator |
ValidatorUtil.buildValidator(JSONValue aVal) |
static Validator |
ValidatorUtil.buildValidator(JSONValue aVal,
HashMap<String,Validator> aRuleset) |
| Modifier and Type | Method and Description |
|---|---|
static Validator |
ValidatorUtil.buildValidator(JSONValue aVal,
HashMap<String,Validator> aRuleset) |
| Modifier and Type | Class and Description |
|---|---|
class |
And |
class |
Array |
class |
Bool |
class |
Complex |
class |
Content |
class |
CustomPredicate |
class |
CustomValidator |
class |
Decimal |
class |
Enumeration |
class |
False |
class |
Int |
class |
Length |
class |
Let |
class |
Not |
class |
Nr |
class |
Null |
class |
Object |
class |
Or |
class |
Predicate |
class |
Properties |
class |
Range |
class |
Ref |
class |
Regexp |
class |
Simple |
class |
Str |
class |
Switch |
class |
True |
| Modifier and Type | Method and Description |
|---|---|
protected HashMap<String,Validator> |
CustomValidator.getRuleset() |
| Constructor and Description |
|---|
And(String aName,
JSONObject aRule,
HashMap<String,Validator> aRuleset) |
Content(String aName,
JSONObject aRule,
HashMap<String,Validator> aRuleset) |
CustomPredicate(String aName,
JSONObject aRule,
HashMap<String,Validator> aRuleset) |
CustomValidator(String aName,
JSONObject aRule,
HashMap<String,Validator> aRuleset) |
Let(String aName,
JSONObject aRule,
HashMap<String,Validator> aRuleset) |
Not(String aName,
JSONObject aRule,
HashMap<String,Validator> aRuleset) |
Or(String aName,
JSONObject aRule,
HashMap<String,Validator> aRuleset) |
Properties(String aName,
JSONObject aRule,
HashMap<String,Validator> aRuleset) |
Ref(String aName,
JSONObject aRule,
HashMap<String,Validator> aRuleset) |
Switch(String aName,
JSONObject aRule,
HashMap<String,Validator> aRuleset) |
Copyright © 2013. All Rights Reserved.