public abstract class SimpleFontValidator<T extends FontContainer> extends FontValidator<T>
| Modifier and Type | Field and Description | 
|---|---|
| protected PDFontLike | font | 
| protected COSDictionary | fontDictionary | 
context, descriptorHelper, fontContainer| Constructor and Description | 
|---|
| SimpleFontValidator(PreflightContext context,
                   PDFontLike font,
                   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 PDFontLike font
protected COSDictionary fontDictionary
public SimpleFontValidator(PreflightContext context, PDFontLike font, 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–2016 The Apache Software Foundation. All rights reserved.