Uses of Class
org.apache.pdfbox.preflight.exception.ValidationException
-
-
Uses of ValidationException in org.apache.pdfbox.preflight
Methods in org.apache.pdfbox.preflight that throw ValidationException Modifier and Type Method Description ValidationProcessPreflightConfiguration. getInstanceOfProcess(java.lang.String processName)Return the validation process linked with the given nameValidationResultPreflightDocument. 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 ValidationException Modifier and Type Method Description private voidActionManagerFactory. callCreateAction(COSBase aDict, PreflightContext ctx, java.util.List<AbstractActionManager> result, java.lang.String additionActionKey, java.util.Map<COSObjectKey,java.lang.Boolean> alreadyCreated)Call the create action to add the ActionManager to the result list.private voidActionManagerFactory. callCreateAction(COSBase aDict, PreflightContext ctx, java.util.List<AbstractActionManager> result, java.util.Map<COSObjectKey,java.lang.Boolean> alreadyCreated)Call the callCreateAction(COSBase, COSDocument, List, String) method with null as isAA parameter. protected AbstractActionManagerActionManagerFactory. createActionManager(PreflightContext ctx, COSDictionary action, java.lang.String aaKey)Create an instance of ActionManager according to the value of the S entry.java.util.List<AbstractActionManager>ActionManagerFactory. getActionManagers(PreflightContext ctx, COSDictionary dictionary)This method extract actions from the given dictionary.java.util.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 ValidationException Modifier and Type Method Description protected 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.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.content Modifier and Type Class Description classContentStreamExceptionMethods in org.apache.pdfbox.preflight.content that throw ValidationException Modifier and Type Method Description voidPreflightContentStream. 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.exception Modifier and Type Class Description classMissingValidationProcessExceptionclassSyntaxValidationException -
Uses of ValidationException in org.apache.pdfbox.preflight.font
Methods in org.apache.pdfbox.preflight.font that throw ValidationException Modifier and Type Method Description private 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 ValidationException Modifier and Type Method Description java.util.List<ValidationResult.ValidationError>FontMetaDataValidation. validatePDFAIdentifer(XMPMetadata metadata, PDFontDescriptor fontDesc) -
Uses of ValidationException in org.apache.pdfbox.preflight.graphic
Methods in org.apache.pdfbox.preflight.graphic that throw ValidationException Modifier and Type Method Description static ICCProfileWrapperICCProfileWrapper. getOrSearchICCProfile(PreflightContext context)voidColorSpaceHelper. validate()Process the ColorSpace validation.voidStandardColorSpaceHelper. validate() -
Uses of ValidationException in org.apache.pdfbox.preflight.metadata
Methods in org.apache.pdfbox.preflight.metadata that return ValidationException Modifier and Type Method Description protected ValidationExceptionSynchronizedMetaDataValidation. schemaAccessException(java.lang.String target, java.lang.Throwable cause)Return an exception formatted on IOException when accessing on metadata schemaMethods in org.apache.pdfbox.preflight.metadata that throw ValidationException Modifier and Type Method Description protected voidSynchronizedMetaDataValidation. analyzeCreationDateProperty(PDDocumentInformation dico, XMPBasicSchema xmp, java.util.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, java.util.List<ValidationResult.ValidationError> ve)Analyze if the ModifyDate embedded in Document Information dictionary and in XMP properties are synchronizedjava.util.List<ValidationResult.ValidationError>SynchronizedMetaDataValidation. validateMetadataSynchronization(PDDocument document, XMPMetadata metadata)Check if document information entries and XMP information are synchronizedjava.util.List<ValidationResult.ValidationError>PDFAIdentificationValidation. validatePDFAIdentifer(XMPMetadata metadata)Check if PDFAIdentification is validjava.util.List<ValidationResult.ValidationError>UniquePropertiesValidation. 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 ValidationException Modifier and Type Method Description 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)private voidCatalogValidationProcess. validateActions(PreflightContext ctx)This method validates if OpenAction entry contains forbidden action type.private voidCatalogValidationProcess. validateICCProfile(COSBase destOutputProfile, java.util.Map<COSObjectKey,java.lang.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.private voidCatalogValidationProcess. validateOutputIntent(PreflightContext ctx)This method checks the content of each OutputIntent.private voidPageTreeValidationProcess. validatePage(PreflightContext context, PDPage page) -
Uses of ValidationException in org.apache.pdfbox.preflight.process.reflect
Methods in org.apache.pdfbox.preflight.process.reflect that throw ValidationException Modifier and Type Method Description protected 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.java.util.List<COSDictionary>ExtGStateValidationProcess. extractExtGStateDictionaries(COSDictionary extGStates)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, java.util.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 ValidationException Modifier and Type Method Description private static voidContextHelper. callValidation(PreflightContext context, java.lang.Object element, java.lang.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, java.lang.Object element, java.lang.String processName)Check that the element parameter isn't null before calling theContextHelper.callValidation(PreflightContext, Object, String)method.static voidContextHelper. validateElement(PreflightContext context, java.lang.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 ValidationException Modifier and Type Method Description protected voidXObjImageValidator. checkAlternates()protected voidXObjImageValidator. checkColorSpaceAndImageMask()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()
-