Class SinglePageValidationProcess

    • Constructor Detail

      • SinglePageValidationProcess

        public SinglePageValidationProcess()
    • Method Detail

      • validateActions

        protected void validateActions​(PreflightContext context,
                                       org.apache.pdfbox.pdmodel.PDPage page)
                                throws ValidationException
        This method checks additional actions contained in the given Page object.
        Parameters:
        context - the preflight context.
        page - the page to check.
        Throws:
        ValidationException
      • validateColorSpaces

        protected void validateColorSpaces​(PreflightContext context,
                                           org.apache.pdfbox.pdmodel.PDPage page)
        Check that all ColorSpace present in the Resource dictionary are conforming to the ISO 19005:2005-1 specification.
        Parameters:
        context - the preflight context.
        page - the page to check.
      • validateGraphicObjects

        protected void validateGraphicObjects​(PreflightContext context,
                                              org.apache.pdfbox.pdmodel.PDPage page)
                                       throws ValidationException
        Check that all XObject references in the PDResource of the page and in the Thumb entry are confirming to the PDF/A specification.
        Parameters:
        context - the preflight context.
        page - the page to check.
        Throws:
        ValidationException
      • validateGroupTransparency

        protected void validateGroupTransparency​(PreflightContext context,
                                                 org.apache.pdfbox.pdmodel.PDPage page)
                                          throws ValidationException
        Check that the group dictionary doesn't have a Transparency attribute
        Parameters:
        context - the preflight context.
        page - the page to check.
        Throws:
        ValidationException