public class WidgetAnnotationValidator extends AnnotationValidator
Modifier and Type | Field and Description |
---|---|
protected PDAnnotationWidget |
pdWidget
PDFBox object which wraps the annotation dictionary
|
annotDictionary, ctx, pdAnnot
Constructor and Description |
---|
WidgetAnnotationValidator(PreflightContext ctx,
COSDictionary annotDictionary) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkAAField()
The AA field is forbidden for the Widget annotation when the PDF is a PDF/A.
|
boolean |
validate()
In addition of the AnnotationValidator.validate() method, this method executes the checkAAField method.
|
checkActions, checkAP, checkCA, checkColors, checkFlags, checkMandatoryFields, checkPopup, checkSpecificMandatoryFields, searchRGBProfile, setFactory
protected PDAnnotationWidget pdWidget
public WidgetAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary)
public boolean validate() throws ValidationException
validate
in class AnnotationValidator
ValidationException
AnnotationValidator.validate()
protected boolean checkAAField()
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.