public class LinkAnnotationValidator extends AnnotationValidator
Modifier and Type | Field and Description |
---|---|
protected PDAnnotationLink |
pdLink
PDFBox object which wraps the annotation dictionary
|
annotDictionary, annotFact, cosDocument, ctx, pdAnnot
Constructor and Description |
---|
LinkAnnotationValidator(PreflightContext ctx,
COSDictionary annotDictionary) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkDest()
Check if the Dest element is authorized according to the A entry
|
protected boolean |
checkMandatoryFields()
Checks if all mandatory fields of an annotation are present.
|
boolean |
validate()
In addition of the AnnotationValidator.validate() method, this method executes the the checkDest method.
|
checkActions, checkAP, checkCA, checkColors, checkFlags, checkPopup, searchRGBProfile, setFactory
protected PDAnnotationLink pdLink
public LinkAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary)
public boolean validate() throws ValidationException
validate
in class AnnotationValidator
ValidationException
org.apache.padaf.preflight.annotation.AnnotationValidator#validate()
protected boolean checkDest()
protected boolean checkMandatoryFields()
AnnotationValidator
checkMandatoryFields
in class AnnotationValidator
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.