Class FontValidationProcess
- java.lang.Object
-
- org.apache.pdfbox.preflight.process.AbstractProcess
-
- org.apache.pdfbox.preflight.process.reflect.FontValidationProcess
-
- All Implemented Interfaces:
ValidationProcess
public class FontValidationProcess extends AbstractProcess
-
-
Constructor Summary
Constructors Constructor Description FontValidationProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FontValidator<? extends FontContainer<? extends PDFont>>
getFontValidator(PreflightContext context, PDFont font)
Create the right "Validator" object for the given font typevoid
validate(PreflightContext context)
-
Methods inherited from class org.apache.pdfbox.preflight.process.AbstractProcess
addFontError, addValidationError, addValidationErrors
-
-
-
-
Method Detail
-
validate
public void validate(PreflightContext context) throws ValidationException
- Throws:
ValidationException
-
getFontValidator
protected FontValidator<? extends FontContainer<? extends PDFont>> getFontValidator(PreflightContext context, PDFont font)
Create the right "Validator" object for the given font type- Parameters:
context
- the preflight context.font
- the font object.- Returns:
- the font validator instance for the font type.
-
-