Top Constructors Methods
org.apache.pdfbox.preflight.process.reflect

public Class FontValidationProcess

extends AbstractProcess
Class Inheritance
Static Imports
org.apache.pdfbox.preflight.PreflightConstants.FONT_DICTIONARY_VALUE_COMPOSITE, .PreflightConstants.FONT_DICTIONARY_VALUE_MMTYPE, .PreflightConstants.FONT_DICTIONARY_VALUE_TRUETYPE, .PreflightConstants.FONT_DICTIONARY_VALUE_TYPE0, .PreflightConstants.FONT_DICTIONARY_VALUE_TYPE0C, .PreflightConstants.FONT_DICTIONARY_VALUE_TYPE1, .PreflightConstants.FONT_DICTIONARY_VALUE_TYPE1C, .PreflightConstants.FONT_DICTIONARY_VALUE_TYPE2, .PreflightConstants.FONT_DICTIONARY_VALUE_TYPE3

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected FontValidator<? extends FontContainer<? extends PDFont>>

Returns:

the font validator instance for the font type.
getFontValidator
(PreflightContext
the preflight context.
context
,
PDFont
the font object.
font
)

Create the right "Validator" object for the given font type

public void
Inherited from org.apache.pdfbox.preflight.process.AbstractProcess:
addFontErroraddValidationErroraddValidationErrors

Constructor Detail

FontValidationProcessback to summary
public FontValidationProcess()

Method Detail

getFontValidatorback to summary
protected FontValidator<? extends FontContainer<? extends PDFont>> getFontValidator(PreflightContext context, PDFont font)

Create the right "Validator" object for the given font type

Parameters
context:PreflightContext

the preflight context.

font:PDFont

the font object.

Returns:FontValidator<? extends FontContainer<? extends PDFont>>

the font validator instance for the font type.

validateback to summary
public void validate(PreflightContext context) throws ValidationException

Implements org.apache.pdfbox.preflight.process.ValidationProcess.validate.

Annotations
@Override