public abstract class SimpleFontValidator<T extends FontContainer> extends FontValidator<T>
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.pdfbox.pdmodel.font.PDFontLike |
font |
protected org.apache.pdfbox.cos.COSDictionary |
fontDictionary |
context, descriptorHelper, fontContainer| Constructor and Description |
|---|
SimpleFontValidator(PreflightContext context,
org.apache.pdfbox.pdmodel.font.PDFontLike font,
org.apache.pdfbox.cos.COSDictionary fontDictionary,
T fContainer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkMandatoryField() |
protected abstract void |
createFontDescriptorHelper() |
protected void |
processFontDescriptorValidation() |
void |
validate()
Call this method to validate the font wrapped by this object.
|
checkEncoding, checkToUnicode, getFontContainerprotected final org.apache.pdfbox.pdmodel.font.PDFontLike font
protected final org.apache.pdfbox.cos.COSDictionary fontDictionary
public SimpleFontValidator(PreflightContext context, org.apache.pdfbox.pdmodel.font.PDFontLike font, org.apache.pdfbox.cos.COSDictionary fontDictionary, T fContainer)
public void validate()
throws ValidationException
validate in class FontValidator<T extends FontContainer>ValidationExceptionprotected void checkMandatoryField()
protected abstract void createFontDescriptorHelper()
protected void processFontDescriptorValidation()
Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.