Uses of Class
org.apache.pdfbox.preflight.exception.ValidationException
Packages that use ValidationException
Package
Description
-
Uses of ValidationException in org.apache.pdfbox.preflight
Methods in org.apache.pdfbox.preflight that throw ValidationExceptionModifier and TypeMethodDescriptionPreflightConfiguration.getInstanceOfProcess(String processName) Return the validation process linked with the given namevoidPreflightDocument.validate()Check that PDDocument is a valid file according to the format given during the object creation. -
Uses of ValidationException in org.apache.pdfbox.preflight.action
Methods in org.apache.pdfbox.preflight.action that throw ValidationExceptionModifier and TypeMethodDescriptionprivate voidActionManagerFactory.callCreateAction(COSBase aDict, PreflightContext ctx, List<AbstractActionManager> result, String additionActionKey, Map<COSObjectKey, Boolean> alreadyCreated) Call the create action to add the ActionManager to the result list.private voidActionManagerFactory.callCreateAction(COSBase aDict, PreflightContext ctx, List<AbstractActionManager> result, Map<COSObjectKey, Boolean> alreadyCreated) Call the callCreateAction(COSBase, COSDocument, List, String) method with null as isAA parameter. protected AbstractActionManagerActionManagerFactory.createActionManager(PreflightContext ctx, COSDictionary action, String aaKey) Create an instance of ActionManager according to the value of the S entry.final List<AbstractActionManager>ActionManagerFactory.getActionManagers(PreflightContext ctx, COSDictionary dictionary) This method extract actions from the given dictionary.final List<AbstractActionManager>ActionManagerFactory.getNextActions(PreflightContext ctx, COSDictionary actionDictionary) Returns all actions contained by the Next entry.protected abstract booleanAbstractActionManager.innerValid()This method must be implemented by inherited classes to process specific validation.protected booleanGoToAction.innerValid()protected booleanGoToRemoteAction.innerValid()booleanAbstractActionManager.valid()Call theAbstractActionManager.valid(boolean)method with the additionalActionAuth set to false.booleanAbstractActionManager.valid(boolean additionalActionAuth) Validate an Action dictionary.protected booleanAbstractActionManager.validNextActions()This method create a list of Action Managers which represent actions in the Next entry of the current action dictionary. -
Uses of ValidationException in org.apache.pdfbox.preflight.annotation
Methods in org.apache.pdfbox.preflight.annotation that throw ValidationExceptionModifier and TypeMethodDescriptionprotected booleanAnnotationValidator.checkActions()Extract a list of ActionManager from the Annotation dictionary and valid them.protected booleanAnnotationValidator.checkAP()This method checks the AP entry of the Annotation Dictionary.protected booleanAnnotationValidator.checkColors()Return true if the C field is present in the Annotation dictionary and if the RGB profile is used in the DestOutputProfile of the OutputIntent dictionary.protected booleanLineAnnotationValidator.checkIColors()Return true if the IC field is present in the Annotation dictionary and if the RGB profile is used in the DestOutputProfile of the OutputIntent dictionary.protected booleanSquareCircleAnnotationValidator.checkIColors()Return true if the IC field is present in the Annotation dictionary and if the RGB profile is used in the DestOutputProfile of the OutputIntent dictionary.protected booleanAnnotationValidator.checkPopup()This method validates the Popup entry.final AnnotationValidatorAnnotationValidatorFactory.getAnnotationValidator(PreflightContext ctx, COSDictionary annotDic) Return an instance of AnnotationValidator.protected booleanAnnotationValidator.searchRGBProfile()Search the RGB Profile in OutputIntents dictionariesbooleanAnnotationValidator.validate()Execute validation of the Annotation dictionary.booleanLineAnnotationValidator.validate()In addition of the AnnotationValidator.validate() method, this method executes the checkIColors method.booleanLinkAnnotationValidator.validate()In addition of the AnnotationValidator.validate() method, this method executes the checkDest method.booleanSquareCircleAnnotationValidator.validate()In addition of the AnnotationValidator.validate() method, this method executes the checkIColors method.booleanWidgetAnnotationValidator.validate()In addition of the AnnotationValidator.validate() method, this method executes the checkAAField method. -
Uses of ValidationException in org.apache.pdfbox.preflight.content
Subclasses of ValidationException in org.apache.pdfbox.preflight.contentMethods in org.apache.pdfbox.preflight.content that throw ValidationExceptionModifier and TypeMethodDescriptionvoidPreflightContentStream.validatePageContentStream()Process the validation of a PageContent (The page is initialized by the constructor)voidPreflightContentStream.validatePatternContentStream(PDTilingPattern pattern) Process the validation of a Tiling PatternvoidPreflightContentStream.validateXObjContentStream(PDFormXObject form) Process the validation of a XObject Form -
Uses of ValidationException in org.apache.pdfbox.preflight.exception
Subclasses of ValidationException in org.apache.pdfbox.preflight.exceptionModifier and TypeClassDescriptionclassclass -
Uses of ValidationException in org.apache.pdfbox.preflight.font
Methods in org.apache.pdfbox.preflight.font that throw ValidationExceptionModifier and TypeMethodDescriptionprivate voidType3FontValidator.checkResources()If the Resources entry is present, this method checks its content.protected voidType0FontValidator.processDescendantFont()Extract the single CIDFont from the descendant array.abstract voidFontValidator.validate()voidSimpleFontValidator.validate()Call this method to validate the font wrapped by this object.voidType0FontValidator.validate()voidType3FontValidator.validate() -
Uses of ValidationException in org.apache.pdfbox.preflight.font.util
Methods in org.apache.pdfbox.preflight.font.util that throw ValidationExceptionModifier and TypeMethodDescriptionFontMetaDataValidation.validatePDFAIdentifer(XMPMetadata metadata, PDFontDescriptor fontDesc) -
Uses of ValidationException in org.apache.pdfbox.preflight.graphic
Methods in org.apache.pdfbox.preflight.graphic that throw ValidationExceptionModifier and TypeMethodDescriptionstatic ICCProfileWrapperICCProfileWrapper.getOrSearchICCProfile(PreflightContext context) voidColorSpaceHelper.validate()Process the ColorSpace validation.final voidStandardColorSpaceHelper.validate() -
Uses of ValidationException in org.apache.pdfbox.preflight.metadata
Methods in org.apache.pdfbox.preflight.metadata that return ValidationExceptionModifier and TypeMethodDescriptionprotected ValidationExceptionSynchronizedMetaDataValidation.schemaAccessException(String target, Throwable cause) Return an exception formatted on IOException when accessing on metadata schemaMethods in org.apache.pdfbox.preflight.metadata that throw ValidationExceptionModifier and TypeMethodDescriptionprotected voidSynchronizedMetaDataValidation.analyzeCreationDateProperty(PDDocumentInformation dico, XMPBasicSchema xmp, List<ValidationResult.ValidationError> ve) Analyze if the CreationDate embedded in Document Information dictionary and in XMP properties are synchronizedprotected voidSynchronizedMetaDataValidation.analyzeModifyDateProperty(PDDocumentInformation dico, XMPBasicSchema xmp, List<ValidationResult.ValidationError> ve) Analyze if the ModifyDate embedded in Document Information dictionary and in XMP properties are synchronizedSynchronizedMetaDataValidation.validateMetadataSynchronization(PDDocument document, XMPMetadata metadata) Check if document information entries and XMP information are synchronizedPDFAIdentificationValidation.validatePDFAIdentifer(XMPMetadata metadata) Check if PDFAIdentification is validUniquePropertiesValidation.validatePropertiesUniqueness(PDDocument document, XMPMetadata metadata) Checks that certain metadata properties are unique.voidRDFAboutAttributeConcordanceValidation.validateRDFAboutAttributes(XMPMetadata metadata) -
Uses of ValidationException in org.apache.pdfbox.preflight.process
Methods in org.apache.pdfbox.preflight.process that throw ValidationExceptionModifier and TypeMethodDescriptionprotected voidStreamValidationProcess.checkStreamLength(PreflightContext context, COSObject cObj) protected booleanBookmarkValidationProcess.exploreOutlineLevel(PreflightContext ctx, PDOutlineItem inputItem, COSObject firstObj, COSObject lastObj) This method explores the Outline Item Level and calls a validation method on each Outline Item.voidAcroFormValidationProcess.validate(PreflightContext ctx) voidBookmarkValidationProcess.validate(PreflightContext ctx) voidCatalogValidationProcess.validate(PreflightContext ctx) voidEmptyValidationProcess.validate(PreflightContext context) voidFileSpecificationValidationProcess.validate(PreflightContext ctx) voidMetadataValidationProcess.validate(PreflightContext ctx) voidPageTreeValidationProcess.validate(PreflightContext context) voidStreamValidationProcess.validate(PreflightContext ctx) voidTrailerValidationProcess.validate(PreflightContext ctx) voidValidationProcess.validate(PreflightContext ctx) voidXRefValidationProcess.validate(PreflightContext ctx) protected voidCatalogValidationProcess.validateActions(PreflightContext ctx) This method validates if OpenAction entry contains forbidden action type.protected voidCatalogValidationProcess.validateICCProfile(COSBase destOutputProfile, Map<COSObjectKey, Boolean> mapDestOutputProfile, PreflightContext ctx) This method checks the destOutputProfile which must be a valid ICCProfile.protected booleanBookmarkValidationProcess.validateItem(PreflightContext ctx, PDOutlineItem inputItem) This method checks the inputItem dictionary and call the exploreOutlineLevel method on the first child if it is not null.protected voidCatalogValidationProcess.validateLang(PreflightContext ctx) The Lang element is optional but it is recommended.protected voidCatalogValidationProcess.validateNames(PreflightContext ctx) A Catalog shall not contain the EmbeddedFiles entry.protected voidCatalogValidationProcess.validateOCProperties(PreflightContext ctx) A Catalog shall not contain the OCPProperties (Optional Content Properties) entry.voidCatalogValidationProcess.validateOutputIntent(PreflightContext ctx) This method checks the content of each OutputIntent.protected voidPageTreeValidationProcess.validatePage(PreflightContext context, PDPage page) voidStreamValidationProcess.validateStreamObject(PreflightContext context, COSObject cObj) -
Uses of ValidationException in org.apache.pdfbox.preflight.process.reflect
Methods in org.apache.pdfbox.preflight.process.reflect that throw ValidationExceptionModifier and TypeMethodDescriptionprotected voidShadingPatternValidationProcess.checkColorSpace(PreflightContext context, PDPage page, PDShading shadingRes) Checks if the ColorSapce entry is consistent which rules of the PDF Reference and the ISO 190005-1:2005 Specification.private voidExtGStateValidationProcess.checkFont(PreflightContext context, COSDictionary egs) This method checks a Font array in the ExtGState dictionary.protected voidShadingPatternValidationProcess.checkGraphicState(PreflightContext context, PDPage page, PDShading shadingRes) Check the Extended Graphic State contains in the ShadingPattern dictionary if it is present.ExtGStateValidationProcess.extractExtGStateDictionaries(PreflightContext context, COSDictionary egsEntry) Create a list of ExtGState dictionaries using the given Resource dictionary and the COSDocument.protected voidTilingPatternValidationProcess.parsePatternContent(PreflightContext context, PDPage page, PDTilingPattern pattern) Validate the Pattern content like Color and Show Text Operators using an instance of ContentStreamWrapper.protected voidTilingPatternValidationProcess.parseResources(PreflightContext context, PDPage page, PDTilingPattern pattern) voidActionsValidationProcess.validate(PreflightContext context) voidAnnotationValidationProcess.validate(PreflightContext context) voidDestinationValidationProcess.validate(PreflightContext ctx) voidExtGStateValidationProcess.validate(PreflightContext context) Validate the ExtGState dictionaries.voidFontValidationProcess.validate(PreflightContext context) voidGraphicObjectPageValidationProcess.validate(PreflightContext context) voidResourcesValidationProcess.validate(PreflightContext ctx) voidShadingPatternValidationProcess.validate(PreflightContext context) voidSinglePageValidationProcess.validate(PreflightContext context) voidTilingPatternValidationProcess.validate(PreflightContext context) protected voidSinglePageValidationProcess.validateActions(PreflightContext context, PDPage page) This method checks additional actions contained in the given Page object.protected voidSinglePageValidationProcess.validateAnnotation(PreflightContext context, PDPage page) protected voidSinglePageValidationProcess.validateContent(PreflightContext context, PDPage page) protected voidResourcesValidationProcess.validateExtGStates(PreflightContext context, PDResources resources) protected voidExtGStateValidationProcess.validateFonts(PreflightContext context, List<COSDictionary> listOfExtGState) Validate fonts in all ExtGState dictionaries of this container.protected voidResourcesValidationProcess.validateFonts(PreflightContext context, PDResources resources) Check that fonts present in the Resources dictionary match with PDF/A-1 rulesprotected voidSinglePageValidationProcess.validateGraphicObjects(PreflightContext context, PDPage page) Check that all XObject references in the PDResource of the page and in the Thumb entry are confirming to the PDF/A specification.protected voidSinglePageValidationProcess.validateGroupTransparency(PreflightContext context, PDPage page) Check that the group dictionary doesn't have a Transparency attributeprotected voidSinglePageValidationProcess.validateResources(PreflightContext context, PDPage page) protected voidResourcesValidationProcess.validateShadingPattern(PreflightContext context, PDResources resources) This method check the Shading entry of the resource dictionary if exists.protected voidResourcesValidationProcess.validateTilingPattern(PreflightContext context, PDResources resources) This method check the Shading entry of the resource dictionary if exists.protected voidResourcesValidationProcess.validateXObjects(PreflightContext context, PDResources resources) -
Uses of ValidationException in org.apache.pdfbox.preflight.utils
Methods in org.apache.pdfbox.preflight.utils that throw ValidationExceptionModifier and TypeMethodDescriptionprivate static voidContextHelper.callValidation(PreflightContext context, Object element, String processName) Put the element to check on the top of the ValidationPath and call the validation method on the Process.static voidContextHelper.validateElement(PreflightContext context, Object element, String processName) Check that the element parameter isn't null before calling theContextHelper.callValidation(PreflightContext, Object, String)method.static voidContextHelper.validateElement(PreflightContext context, String processName) call directly theContextHelper.callValidation(PreflightContext, Object, String) -
Uses of ValidationException in org.apache.pdfbox.preflight.xobject
Methods in org.apache.pdfbox.preflight.xobject that throw ValidationExceptionModifier and TypeMethodDescriptionprotected voidXObjImageValidator.checkAlternates()protected voidXObjImageValidator.checkColorSpaceAndImageMask()protected voidXObjImageValidator.checkIntent()protected voidXObjImageValidator.checkInterpolate()voidAbstractXObjValidator.validate()voidXObjectValidator.validate()Process the validation of the XObject.voidXObjFormValidator.validate()voidXObjImageValidator.validate()protected voidXObjFormValidator.validateXObjectContent()An Form XObject is a ContentStream.protected voidXObjFormValidator.validateXObjectResources()