Class FontValidationProcess
java.lang.Object
org.apache.pdfbox.preflight.process.AbstractProcess
org.apache.pdfbox.preflight.process.reflect.FontValidationProcess
- All Implemented Interfaces:
ValidationProcess
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
Constructor Details
-
FontValidationProcess
public FontValidationProcess()
-
-
Method Details
-
validate
- 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.
-