com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class AnnotationSelector

    • Constructor Summary

      Constructors 
      Constructor and Description
      AnnotationSelector(Annotation annotation)
      Initializes new AnnotationSelector object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void visit(CaretAnnotation caret)
      Select caret annotation if AnnotationSelector was initialized with CaretAnnotation object.
      void visit(CircleAnnotation circle)
      Select circle annotation if AnnotationSelector was initialized with CircleAnnotation object.
      void visit(FileAttachmentAnnotation attachment)
      Select attachment annotation if AnnotationSelector was initialized with FileAttachmentAnnotation object.
      void visit(FreeTextAnnotation freetext)
      Select freetext annotation if AnnotationSelector was initialized with FreeTextAnnotation object.
      void visit(HighlightAnnotation highlight)
      Select attachment annotation if AnnotationSelector was initialized with FreeTextAnnotation object.
      void visit(InkAnnotation ink)
      Select ink annotation if AnnotationSelector was initialized with InkAnnotation object.
      void visit(LineAnnotation line)
      Select line annotation if AnnotationSelector was initialized with LineAnnotation object.
      void visit(LinkAnnotation link)
      Select link annotation if AnnotationSelector was initialized with LinkAnnotation object.
      void visit(MovieAnnotation movie)
      Select movie annotation if AnnotationSelector was initialized with MovieAnnotation object.
      void visit(PDF3DAnnotation pdf3D)
      Select PDF3D annotation if AnnotationSelector was initialized with PDF3DAnnotation object.
      void visit(PolygonAnnotation polygon)
      Select polygon annotation if AnnotationSelector was initialized with PolygonAnnotation object.
      void visit(PolylineAnnotation polyline)
      Select polyline annotation if AnnotationSelector was initialized with PolylineAnnotation object.
      void visit(PopupAnnotation popup)
      Select popup annotation if AnnotationSelector was initialized with PopupAnnotation object.
      void visit(RedactionAnnotation redact)
      Select redact annotation if AnnotationSelector was initialized with RedactAnnotation object.
      void visit(RichMediaAnnotation richMedia)
      Select movie annotation if AnnotationSelector was initialized with RichMedia annotation object.
      void visit(ScreenAnnotation screen)
      Select screen annotation if AnnotationSelector was initialized with ScreenAnnotation object.
      void visit(SquareAnnotation square)
      Select square annotation if AnnotationSelector was initialized with SquareAnnotation object.
      void visit(SquigglyAnnotation squiggly)
      Select squiggly annotation if AnnotationSelector was initialized with SquigglyAnnotation object.
      void visit(StampAnnotation stamp)
      Select stamp annotation if AnnotationSelector was initialized with StampAnnotation object.
      void visit(StrikeOutAnnotation strikeOut)
      Select strikeOut annotation if AnnotationSelector was initialized with StrikeOutAnnotation object.
      void visit(TextAnnotation text)
      Select text annotation if AnnotationSelector was initialized with TextAnnotation object.
      void visit(UnderlineAnnotation underline)
      Select underline annotation if AnnotationSelector was initialized with UnderlineAnnotation object.
      void visit(WatermarkAnnotation watermark)
      Select watermark annotation if AnnotationSelector was initialized with WatermarkAnnotation object.
      void visit(WidgetAnnotation widget)
      Select widget annotation if AnnotationSelector was initialized with WidgetAnnotation object.
    • Constructor Detail

      • AnnotationSelector

        public AnnotationSelector(Annotation annotation)

        Initializes new AnnotationSelector object.

        Parameters:
        annotation - Annotation to be selected. This object only describes some characteristics we want found annotations to have, e.g. the type of annotation.
    • Method Detail

      • visit

        public void visit(LinkAnnotation link)

        Select link annotation if AnnotationSelector was initialized with LinkAnnotation object.

        Specified by:
        visit in interface IAnnotationVisitor
        Parameters:
        link - LinkAnnotation object for selecting.
      • visit

        public void visit(FileAttachmentAnnotation attachment)

        Select attachment annotation if AnnotationSelector was initialized with FileAttachmentAnnotation object.

        Specified by:
        visit in interface IAnnotationVisitor
        Parameters:
        attachment - FileAttachmentAnnotation object for selecting.
      • visit

        public void visit(TextAnnotation text)

        Select text annotation if AnnotationSelector was initialized with TextAnnotation object.

        Specified by:
        visit in interface IAnnotationVisitor
        Parameters:
        text - TextAnnotation object for selecting.
      • visit

        public void visit(RedactionAnnotation redact)

        Select redact annotation if AnnotationSelector was initialized with RedactAnnotation object.

        Parameters:
        redact - RedactAnnotation object for selecting.
      • visit

        public void visit(FreeTextAnnotation freetext)

        Select freetext annotation if AnnotationSelector was initialized with FreeTextAnnotation object.

        Specified by:
        visit in interface IAnnotationVisitor
        Parameters:
        freetext - FreeTextAnnotation object for selecting.
      • visit

        public void visit(HighlightAnnotation highlight)

        Select attachment annotation if AnnotationSelector was initialized with FreeTextAnnotation object.

        Specified by:
        visit in interface IAnnotationVisitor
        Parameters:
        highlight - HighlightAnnotation object for selecting.
      • visit

        public void visit(UnderlineAnnotation underline)

        Select underline annotation if AnnotationSelector was initialized with UnderlineAnnotation object.

        Specified by:
        visit in interface IAnnotationVisitor
        Parameters:
        underline - UnderlineAnnotation object for selecting.
      • visit

        public void visit(StrikeOutAnnotation strikeOut)

        Select strikeOut annotation if AnnotationSelector was initialized with StrikeOutAnnotation object.

        Specified by:
        visit in interface IAnnotationVisitor
        Parameters:
        strikeOut - StrikeOutAnnotation object for selecting.
      • visit

        public void visit(SquigglyAnnotation squiggly)

        Select squiggly annotation if AnnotationSelector was initialized with SquigglyAnnotation object.

        Specified by:
        visit in interface IAnnotationVisitor
        Parameters:
        squiggly - SquigglyAnnotation object for selecting.
      • visit

        public void visit(PopupAnnotation popup)

        Select popup annotation if AnnotationSelector was initialized with PopupAnnotation object.

        Specified by:
        visit in interface IAnnotationVisitor
        Parameters:
        popup - PopupAnnotation object for selecting.
      • visit

        public void visit(LineAnnotation line)

        Select line annotation if AnnotationSelector was initialized with LineAnnotation object.

        Specified by:
        visit in interface IAnnotationVisitor
        Parameters:
        line - LineAnnotation object for selecting.
      • visit

        public void visit(CircleAnnotation circle)

        Select circle annotation if AnnotationSelector was initialized with CircleAnnotation object.

        Specified by:
        visit in interface IAnnotationVisitor
        Parameters:
        circle - CircleAnnotation object for selecting.
      • visit

        public void visit(SquareAnnotation square)

        Select square annotation if AnnotationSelector was initialized with SquareAnnotation object.

        Specified by:
        visit in interface IAnnotationVisitor
        Parameters:
        square - SquareAnnotation object for selecting.
      • visit

        public void visit(InkAnnotation ink)

        Select ink annotation if AnnotationSelector was initialized with InkAnnotation object.

        Specified by:
        visit in interface IAnnotationVisitor
        Parameters:
        ink - InkAnnotation object for selecting.
      • visit

        public void visit(PolylineAnnotation polyline)

        Select polyline annotation if AnnotationSelector was initialized with PolylineAnnotation object.

        Specified by:
        visit in interface IAnnotationVisitor
        Parameters:
        polyline - PolylineAnnotation object for selecting.
      • visit

        public void visit(PolygonAnnotation polygon)

        Select polygon annotation if AnnotationSelector was initialized with PolygonAnnotation object.

        Specified by:
        visit in interface IAnnotationVisitor
        Parameters:
        polygon - PolygonAnnotation object for selecting.
      • visit

        public void visit(CaretAnnotation caret)

        Select caret annotation if AnnotationSelector was initialized with CaretAnnotation object.

        Specified by:
        visit in interface IAnnotationVisitor
        Parameters:
        caret - CaretAnnotation object for selecting.
      • visit

        public void visit(StampAnnotation stamp)

        Select stamp annotation if AnnotationSelector was initialized with StampAnnotation object.

        Specified by:
        visit in interface IAnnotationVisitor
        Parameters:
        stamp - StampAnnotation object for selecting.
      • visit

        public void visit(WidgetAnnotation widget)

        Select widget annotation if AnnotationSelector was initialized with WidgetAnnotation object.

        Specified by:
        visit in interface IAnnotationVisitor
        Parameters:
        widget - WidgetAnnotation object for selecting.
      • visit

        public void visit(WatermarkAnnotation watermark)

        Select watermark annotation if AnnotationSelector was initialized with WatermarkAnnotation object.

        Parameters:
        watermark - WatermarkAnnotation for selecting.
      • visit

        public void visit(MovieAnnotation movie)

        Select movie annotation if AnnotationSelector was initialized with MovieAnnotation object.

        Specified by:
        visit in interface IAnnotationVisitor
        Parameters:
        movie - MovieAnnotation object for selecting.
      • visit

        public void visit(RichMediaAnnotation richMedia)

        Select movie annotation if AnnotationSelector was initialized with RichMedia annotation object.

        Parameters:
        richMedia - RichMedia annotation.
      • visit

        public void visit(ScreenAnnotation screen)

        Select screen annotation if AnnotationSelector was initialized with ScreenAnnotation object.

        Specified by:
        visit in interface IAnnotationVisitor
        Parameters:
        screen - ScreenAnnotation object for selecting.
      • visit

        public void visit(PDF3DAnnotation pdf3D)

        Select PDF3D annotation if AnnotationSelector was initialized with PDF3DAnnotation object.

        Parameters:
        pdf3D - PDF3DAnnotation object for selecting.