Class SimpleFontValidator<T extends FontContainer>

    • Method Detail

      • validate

        public void validate()
                      throws ValidationException
        Call this method to validate the font wrapped by this object. If the validation failed, the error is updated in the FontContainer with the right error code. Errors that are saved in the container will be added on the PreflightContext if the font is used later.
        Specified by:
        validate in class FontValidator<T extends FontContainer>
        Throws:
        ValidationException
      • checkMandatoryField

        protected void checkMandatoryField()
      • createFontDescriptorHelper

        protected abstract void createFontDescriptorHelper()
      • processFontDescriptorValidation

        protected void processFontDescriptorValidation()