Top Description Fields Constructors Methods
org.apache.pdfbox.preflight.annotation

pack-priv abstract Class MarkupAnnotationValidator

extends AnnotationValidator
Class Inheritance
Known Direct Subclasses
org.apache.pdfbox.preflight.annotation.SquigglyAnnotationValidator, org.apache.pdfbox.preflight.annotation.StrikeoutAnnotationValidator, org.apache.pdfbox.preflight.annotation.UnderlineAnnotationValidator, org.apache.pdfbox.preflight.annotation.HighlightAnnotationValidator
Imports
org.apache.pdfbox.cos.COSDictionary, .COSName, org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationTextMarkup, org.apache.pdfbox.preflight.PreflightContext

Validation class for the MarkupAnnotation

Field Summary

Modifier and TypeField and Description
protected PDAnnotationTextMarkup
pdMarkup

PDFBox object which wraps the annotation dictionary

Inherited from org.apache.pdfbox.preflight.annotation.AnnotationValidator:
annotDictionaryctxpdAnnot

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected boolean
Inherited from org.apache.pdfbox.preflight.annotation.AnnotationValidator:
checkActionscheckAPcheckCAcheckColorscheckFlagscheckMandatoryFieldscheckPopupsearchRGBProfilesetFactoryvalidate

Field Detail

pdMarkupback to summary
protected PDAnnotationTextMarkup pdMarkup

PDFBox object which wraps the annotation dictionary

Constructor Detail

MarkupAnnotationValidatorback to summary
protected MarkupAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary)

Method Detail

checkSpecificMandatoryFieldsback to summary
protected boolean checkSpecificMandatoryFields()

Overrides org.apache.pdfbox.preflight.annotation.AnnotationValidator.checkSpecificMandatoryFields.

Doc from org.apache.pdfbox.preflight.annotation.AnnotationValidator.checkSpecificMandatoryFields.

Override this method to check the presence of specific fields

Returns:boolean

the presence of specific fields.

Annotations
@Override