public class FontValidationProcess extends AbstractProcess
Constructor and Description |
---|
FontValidationProcess() |
Modifier and Type | Method and Description |
---|---|
protected FontValidator<? extends FontContainer<? extends PDFont>> |
getFontValidator(PreflightContext context,
PDFont font)
Create the right "Validator" object for the given font type
|
void |
validate(PreflightContext context) |
addFontError, addValidationError, addValidationErrors
public void validate(PreflightContext context) throws ValidationException
ValidationException
protected FontValidator<? extends FontContainer<? extends PDFont>> getFontValidator(PreflightContext context, PDFont font)
context
- the preflight context.font
- the font object.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.