public final class FormatProcessor extends Object implements 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(ProcessingReport report,
ValidatorList input) |
String |
toString() |
public FormatProcessor(Library library, ValidationConfiguration cfg)
public ValidatorList process(ProcessingReport report, ValidatorList input) throws ProcessingException
process
in interface Processor<ValidatorList,ValidatorList>
ProcessingException