Class MarkupAnnotationValidator
- java.lang.Object
-
- org.apache.pdfbox.preflight.annotation.AnnotationValidator
-
- org.apache.pdfbox.preflight.annotation.MarkupAnnotationValidator
-
public class MarkupAnnotationValidator extends AnnotationValidator
Validation class for the MarkupAnnotation
-
-
Field Summary
Fields Modifier and Type Field Description protected PDAnnotationTextMarkup
pdMarkup
PDFBox object which wraps the annotation dictionary-
Fields inherited from class org.apache.pdfbox.preflight.annotation.AnnotationValidator
annotDictionary, ctx, pdAnnot
-
-
Constructor Summary
Constructors Constructor Description MarkupAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
checkSpecificMandatoryFields()
Override this method to check the presence of specific fields-
Methods inherited from class org.apache.pdfbox.preflight.annotation.AnnotationValidator
checkActions, checkAP, checkCA, checkColors, checkFlags, checkMandatoryFields, checkPopup, searchRGBProfile, setFactory, validate
-
-
-
-
Field Detail
-
pdMarkup
protected PDAnnotationTextMarkup pdMarkup
PDFBox object which wraps the annotation dictionary
-
-
Constructor Detail
-
MarkupAnnotationValidator
public MarkupAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary)
-
-
Method Detail
-
checkSpecificMandatoryFields
protected boolean checkSpecificMandatoryFields()
Description copied from class:AnnotationValidator
Override this method to check the presence of specific fields- Overrides:
checkSpecificMandatoryFields
in classAnnotationValidator
- Returns:
- the presence of specific fields.
-
-