Class LinkAnnotationValidator

java.lang.Object
org.apache.pdfbox.preflight.annotation.AnnotationValidator
org.apache.pdfbox.preflight.annotation.LinkAnnotationValidator

public class LinkAnnotationValidator extends AnnotationValidator
Validation class for the LinkAnnotation
  • Field Details

  • Constructor Details

  • Method Details

    • validate

      public boolean validate() throws ValidationException
      In addition of the AnnotationValidator.validate() method, this method executes the checkDest method.
      Overrides:
      validate in class AnnotationValidator
      Returns:
      true if validation succeed, false otherwise.
      Throws:
      ValidationException
      See Also:
    • checkDest

      protected boolean checkDest()
      Check if the Dest element is authorized according to the A entry
      Returns:
      if the Dest element is authorized according to the A entry.