| Modifier and Type | Method and Description | 
|---|---|
List<ValidationResult.ValidationError> | 
ValidationResult.getErrorsList()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ValidationResult.addError(ValidationResult.ValidationError error)
Add error to the list of ValidationError. 
 | 
void | 
PreflightDocument.addValidationError(ValidationResult.ValidationError error)  | 
void | 
PreflightContext.addValidationError(ValidationResult.ValidationError error)
Add the given error the PreflightDocument 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ValidationResult.addErrors(List<ValidationResult.ValidationError> errors)
Add a set of errors to the list of ValidationError. 
 | 
void | 
PreflightContext.addValidationErrors(List<ValidationResult.ValidationError> errors)
Add the given errors the PreflightDocument 
 | 
| Constructor and Description | 
|---|
ValidationResult(ValidationResult.ValidationError error)
Create a Validation Result object. 
 | 
| Constructor and Description | 
|---|
ValidationResult(List<ValidationResult.ValidationError> errors)
Create a Validation Result object. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected List<ValidationResult.ValidationError> | 
FontContainer.errorBuffer
List of validation errors that occur during the font validation. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<ValidationResult.ValidationError> | 
Type0Container.getAllErrors()  | 
List<ValidationResult.ValidationError> | 
FontContainer.getAllErrors()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
FontContainer.push(ValidationResult.ValidationError error)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
FontContainer.push(List<ValidationResult.ValidationError> errors)  | 
| Modifier and Type | Method and Description | 
|---|---|
List<ValidationResult.ValidationError> | 
FontMetaDataValidation.validatePDFAIdentifer(XMPMetadata metadata,
                     PDFontDescriptor fontDesc)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
FontMetaDataValidation.analyseFontName(XMPMetadata metadata,
               PDFontDescriptor fontDesc,
               List<ValidationResult.ValidationError> ve)
Value of the dc:title must be the same as the FontName in the font descriptor. 
 | 
boolean | 
FontMetaDataValidation.analyseRights(XMPMetadata metadata,
             PDFontDescriptor fontDesc,
             List<ValidationResult.ValidationError> ve)
If XMP MetaData are present, they must have followings information :
 
 dc:rights
 Marked (with the value true)
 Owner
 UsageTerms
  
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected ValidationResult.ValidationError | 
XpacketParsingException.error  | 
| Modifier and Type | Method and Description | 
|---|---|
protected ValidationResult.ValidationError | 
SynchronizedMetaDataValidation.absentSchemaMetaDataError(String target,
                         String schema)
Return a formatted validation error when a specific metadata schema can't be found 
 | 
protected ValidationResult.ValidationError | 
SynchronizedMetaDataValidation.absentXMPPropertyError(String target,
                      String details)
Return a formatted validation error when a specific XMP property can't be found 
 | 
ValidationResult.ValidationError | 
XpacketParsingException.getError()  | 
protected ValidationResult.ValidationError | 
SynchronizedMetaDataValidation.unexpectedPrefixFoundError(String prefFound,
                          String prefExpected,
                          String schema)
Return a validationError formatted when a schema has not the expected prefix 
 | 
protected ValidationResult.ValidationError | 
PDFAIdentificationValidation.unexpectedPrefixFoundError(String prefFound,
                          String prefExpected,
                          String schema)
Return a validationError formatted when a schema has not the expected prefix 
 | 
protected ValidationResult.ValidationError | 
SynchronizedMetaDataValidation.unsynchronizedMetaDataError(String target)
Return a formatted validation error when metadata are not synchronized 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<ValidationResult.ValidationError> | 
SynchronizedMetaDataValidation.validateMetadataSynchronization(PDDocument document,
                               XMPMetadata metadata)
Check if document information entries and XMP information are synchronized 
 | 
List<ValidationResult.ValidationError> | 
PDFAIdentificationValidation.validatePDFAIdentifer(XMPMetadata metadata)
Check if PDFAIdentification is valid 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
SynchronizedMetaDataValidation.analyzeAuthorProperty(PDDocumentInformation dico,
                     DublinCoreSchema dc,
                     List<ValidationResult.ValidationError> ve)
Analyze if Author(s) embedded in Document Information dictionary and in XMP properties are
 synchronized 
 | 
protected void | 
SynchronizedMetaDataValidation.analyzeCreationDateProperty(PDDocumentInformation dico,
                           XMPBasicSchema xmp,
                           List<ValidationResult.ValidationError> ve)
Analyze if the CreationDate embedded in Document Information dictionary and in XMP properties
 are synchronized 
 | 
protected void | 
SynchronizedMetaDataValidation.analyzeCreatorToolProperty(PDDocumentInformation dico,
                          XMPBasicSchema xmp,
                          List<ValidationResult.ValidationError> ve)
Analyze if the creator tool embedded in Document Information dictionary and in XMP properties
 are synchronized 
 | 
protected void | 
SynchronizedMetaDataValidation.analyzeKeywordsProperty(PDDocumentInformation dico,
                       AdobePDFSchema pdf,
                       List<ValidationResult.ValidationError> ve)
Analyze if Keyword(s) embedded in Document Information dictionary and in XMP properties are
 synchronized 
 | 
protected void | 
SynchronizedMetaDataValidation.analyzeModifyDateProperty(PDDocumentInformation dico,
                         XMPBasicSchema xmp,
                         List<ValidationResult.ValidationError> ve)
Analyze if the ModifyDate embedded in Document Information dictionary and in XMP properties
 are synchronized 
 | 
protected void | 
SynchronizedMetaDataValidation.analyzeProducerProperty(PDDocumentInformation dico,
                       AdobePDFSchema pdf,
                       List<ValidationResult.ValidationError> ve)
Analyze if Producer embedded in Document Information dictionary and in XMP properties are
 synchronized 
 | 
protected void | 
SynchronizedMetaDataValidation.analyzeSubjectProperty(PDDocumentInformation dico,
                      DublinCoreSchema dc,
                      List<ValidationResult.ValidationError> ve)
Analyze if Subject(s) embedded in Document Information dictionary and in XMP properties are
 synchronized 
 | 
protected void | 
SynchronizedMetaDataValidation.analyzeTitleProperty(PDDocumentInformation dico,
                    DublinCoreSchema dc,
                    List<ValidationResult.ValidationError> ve)
Analyze if Title embedded in Document Information dictionary and in XMP properties are synchronized 
 | 
protected void | 
PDFAIdentificationValidation.checkConformanceLevel(List<ValidationResult.ValidationError> ve,
                     String value)  | 
protected void | 
PDFAIdentificationValidation.checkPartNumber(List<ValidationResult.ValidationError> ve,
               int value)  | 
| Constructor and Description | 
|---|
XpacketParsingException(String message,
                       ValidationResult.ValidationError error)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
PreflightParser.addValidationError(ValidationResult.ValidationError error)
Add the error to the ValidationResult. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
PreflightParser.addValidationErrors(List<ValidationResult.ValidationError> errors)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected List<ValidationResult.ValidationError> | 
MetadataValidationProcess.checkStreamFilterUsage(PDDocument doc)
Check if metadata dictionary has no stream filter 
 | 
List<ValidationResult.ValidationError> | 
FileSpecificationValidationProcess.validateFileSpecification(PreflightContext ctx,
                         COSDictionary fileSpec)
Validate a FileSpec dictionary, a FileSpec dictionary mustn't have the EF (EmbeddedFile) entry. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
AbstractProcess.addValidationError(PreflightContext ctx,
                  ValidationResult.ValidationError error)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
AbstractProcess.addValidationErrors(PreflightContext ctx,
                   List<ValidationResult.ValidationError> errors)  | 
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.