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

public Class FreeTextAnnotationValidator

extends AnnotationValidator
Class Inheritance
Imports
org.apache.pdfbox.cos.COSDictionary, .COSName, org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationMarkup, org.apache.pdfbox.preflight.PreflightContext

Validation class for the FreeTextAnnotation

Field Summary

Modifier and TypeField and Description
protected PDAnnotationMarkup
pdFreeText

PDFBox object which wraps the Annotation dictionary

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

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Field Detail

pdFreeTextback to summary
protected PDAnnotationMarkup pdFreeText

PDFBox object which wraps the Annotation dictionary

Constructor Detail

FreeTextAnnotationValidatorback to summary
public FreeTextAnnotationValidator(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