Package | Description |
---|---|
com.sdicons.json.validator |
Validating a JSON model with validation rules.
|
com.sdicons.json.validator.predicates |
The building blocks to create validation expressions.
|
Modifier and Type | Method and Description |
---|---|
static Properties.PropRule |
ValidatorBuilder.propRule(String propName,
Validator rule,
boolean optional)
Create a
Properties.PropRule that is used to build a Properties validator for objects. |
Modifier and Type | Method and Description |
---|---|
Validator |
ValidatorBuilder.properties(Properties.PropRule... rules)
Create an anonymous
Properties validator to check the key/value pairs of an object. |
Validator |
ValidatorBuilder.properties(String ruleName,
Properties.PropRule... rules)
Create a named
Properties validator to check the key/value pairs of an object. |
Constructor and Description |
---|
Properties(String aName,
HashMap<String,Validator> aRuleset,
Properties.PropRule... rules) |
Copyright © 2012. All Rights Reserved.