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(Dictionary<FormatAttribute> dict) |
FormatProcessor(Library library) |
public FormatProcessor(Library library)
public FormatProcessor(Dictionary<FormatAttribute> dict)
public ValidatorList process(ProcessingReport report, ValidatorList input) throws ProcessingException
process in interface Processor<ValidatorList,ValidatorList>ProcessingExceptionCopyright © 2013. All Rights Reserved.