public final class AnnotationSelector extends Selector implements IAnnotationVisitor
This class is used for selecting annotations using Visitor template idea.
| Constructor and Description |
|---|
AnnotationSelector(Annotation annotation)
Initializes new
AnnotationSelector object. |
| 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(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(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.
|
getSelectedpublic AnnotationSelector(Annotation annotation)
Initializes new AnnotationSelector object.
annotation - Annotation to be selected. This object only describes some characteristics we want found
annotations to have, e.g. the type of annotation.public void visit(LinkAnnotation link)
Select link annotation if AnnotationSelector was initialized with LinkAnnotation object.
visit in interface IAnnotationVisitorlink - LinkAnnotation object for selecting.public void visit(FileAttachmentAnnotation attachment)
Select attachment annotation if AnnotationSelector was initialized with FileAttachmentAnnotation object.
visit in interface IAnnotationVisitorattachment - FileAttachmentAnnotation object for selecting.public void visit(TextAnnotation text)
Select text annotation if AnnotationSelector was initialized with TextAnnotation object.
visit in interface IAnnotationVisitortext - TextAnnotation object for selecting.public void visit(RedactionAnnotation redact)
Select redact annotation if AnnotationSelector was initialized with RedactAnnotation object.
redact - RedactAnnotation object for selecting.public void visit(FreeTextAnnotation freetext)
Select freetext annotation if AnnotationSelector was initialized with FreeTextAnnotation object.
visit in interface IAnnotationVisitorfreetext - FreeTextAnnotation object for selecting.public void visit(HighlightAnnotation highlight)
Select attachment annotation if AnnotationSelector was initialized with FreeTextAnnotation object.
visit in interface IAnnotationVisitorhighlight - HighlightAnnotation object for selecting.public void visit(UnderlineAnnotation underline)
Select underline annotation if AnnotationSelector was initialized with UnderlineAnnotation object.
visit in interface IAnnotationVisitorunderline - UnderlineAnnotation object for selecting.public void visit(StrikeOutAnnotation strikeOut)
Select strikeOut annotation if AnnotationSelector was initialized with StrikeOutAnnotation object.
visit in interface IAnnotationVisitorstrikeOut - StrikeOutAnnotation object for selecting.public void visit(SquigglyAnnotation squiggly)
Select squiggly annotation if AnnotationSelector was initialized with SquigglyAnnotation object.
visit in interface IAnnotationVisitorsquiggly - SquigglyAnnotation object for selecting.public void visit(PopupAnnotation popup)
Select popup annotation if AnnotationSelector was initialized with PopupAnnotation object.
visit in interface IAnnotationVisitorpopup - PopupAnnotation object for selecting.public void visit(LineAnnotation line)
Select line annotation if AnnotationSelector was initialized with LineAnnotation object.
visit in interface IAnnotationVisitorline - LineAnnotation object for selecting.public void visit(CircleAnnotation circle)
Select circle annotation if AnnotationSelector was initialized with CircleAnnotation object.
visit in interface IAnnotationVisitorcircle - CircleAnnotation object for selecting.public void visit(SquareAnnotation square)
Select square annotation if AnnotationSelector was initialized with SquareAnnotation object.
visit in interface IAnnotationVisitorsquare - SquareAnnotation object for selecting.public void visit(InkAnnotation ink)
Select ink annotation if AnnotationSelector was initialized with InkAnnotation object.
visit in interface IAnnotationVisitorink - InkAnnotation object for selecting.public void visit(PolylineAnnotation polyline)
Select polyline annotation if AnnotationSelector was initialized with PolylineAnnotation object.
visit in interface IAnnotationVisitorpolyline - PolylineAnnotation object for selecting.public void visit(PolygonAnnotation polygon)
Select polygon annotation if AnnotationSelector was initialized with PolygonAnnotation object.
visit in interface IAnnotationVisitorpolygon - PolygonAnnotation object for selecting.public void visit(CaretAnnotation caret)
Select caret annotation if AnnotationSelector was initialized with CaretAnnotation object.
visit in interface IAnnotationVisitorcaret - CaretAnnotation object for selecting.public void visit(StampAnnotation stamp)
Select stamp annotation if AnnotationSelector was initialized with StampAnnotation object.
visit in interface IAnnotationVisitorstamp - StampAnnotation object for selecting.public void visit(WidgetAnnotation widget)
Select widget annotation if AnnotationSelector was initialized with WidgetAnnotation object.
visit in interface IAnnotationVisitorwidget - WidgetAnnotation object for selecting.public void visit(WatermarkAnnotation watermark)
Select watermark annotation if AnnotationSelector was initialized with WatermarkAnnotation object.
watermark - WatermarkAnnotation for selecting.public void visit(MovieAnnotation movie)
Select movie annotation if AnnotationSelector was initialized with MovieAnnotation object.
visit in interface IAnnotationVisitormovie - MovieAnnotation object for selecting.public void visit(ScreenAnnotation screen)
Select screen annotation if AnnotationSelector was initialized with ScreenAnnotation object.
visit in interface IAnnotationVisitorscreen - ScreenAnnotation object for selecting.Copyright © 2016 Aspose. All Rights Reserved.