public final class FormatProcessor extends Object implements com.github.fge.jsonschema.core.processing.Processor<ValidatorList,ValidatorList>
This processor is run after ValidatorBuilder if and only if the
user has chosen to perform format validation (it is enabled by
default).
It will append a specific KeywordValidator to the list of already
existing validators if and only if:
format keyword in the current schema;Note that it will warn if the format attribute is not recognized.
| Constructor and Description |
|---|
FormatProcessor(Library library,
ValidationConfiguration cfg) |
| Modifier and Type | Method and Description |
|---|---|
ValidatorList |
process(com.github.fge.jsonschema.core.report.ProcessingReport report,
ValidatorList input) |
String |
toString() |
public FormatProcessor(Library library, ValidationConfiguration cfg)
public ValidatorList process(com.github.fge.jsonschema.core.report.ProcessingReport report, ValidatorList input) throws com.github.fge.jsonschema.core.exceptions.ProcessingException
process in interface com.github.fge.jsonschema.core.processing.Processor<ValidatorList,ValidatorList>com.github.fge.jsonschema.core.exceptions.ProcessingException