Class FreeTextAnnotationValidator
- java.lang.Object
-
- org.apache.pdfbox.preflight.annotation.AnnotationValidator
-
- org.apache.pdfbox.preflight.annotation.FreeTextAnnotationValidator
-
public class FreeTextAnnotationValidator extends AnnotationValidator
Validation class for the FreeTextAnnotation
-
-
Field Summary
Fields Modifier and Type Field Description protected PDAnnotationMarkuppdFreeTextPDFBox object which wraps the Annotation dictionary-
Fields inherited from class org.apache.pdfbox.preflight.annotation.AnnotationValidator
annotDictionary, ctx, pdAnnot
-
-
Constructor Summary
Constructors Constructor Description FreeTextAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancheckSpecificMandatoryFields()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
-
pdFreeText
protected PDAnnotationMarkup pdFreeText
PDFBox object which wraps the Annotation dictionary
-
-
Constructor Detail
-
FreeTextAnnotationValidator
public FreeTextAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary)
-
-
Method Detail
-
checkSpecificMandatoryFields
protected boolean checkSpecificMandatoryFields()
Description copied from class:AnnotationValidatorOverride this method to check the presence of specific fields- Overrides:
checkSpecificMandatoryFieldsin classAnnotationValidator- Returns:
- the presence of specific fields.
-
-