public class PDFAIdentificationValidation extends Object
Constructor and Description |
---|
PDFAIdentificationValidation() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkConformanceLevel(List<ValidationResult.ValidationError> ve,
String value) |
protected void |
checkPartNumber(List<ValidationResult.ValidationError> ve,
int value) |
protected ValidationResult.ValidationError |
unexpectedPrefixFoundError(String prefFound,
String prefExpected,
String schema)
Return a validationError formatted when a schema has not the expected prefix
|
List<ValidationResult.ValidationError> |
validatePDFAIdentifer(XMPMetadata metadata)
Check if PDFAIdentification is valid
|
public List<ValidationResult.ValidationError> validatePDFAIdentifer(XMPMetadata metadata) throws ValidationException
metadata
- the XMP MetaData.ValidationException
protected ValidationResult.ValidationError unexpectedPrefixFoundError(String prefFound, String prefExpected, String schema)
prefFound
- prefExpected
- schema
- protected void checkConformanceLevel(List<ValidationResult.ValidationError> ve, String value)
protected void checkPartNumber(List<ValidationResult.ValidationError> ve, int value)
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.