Class PdfAnnotationContext
java.lang.Object
com.itextpdf.kernel.validation.context.PdfAnnotationContext
- All Implemented Interfaces:
-
IValidationContext
Class which contains context in which annotation was added.
-
Constructor Summary
ConstructorsConstructorDescriptionPdfAnnotationContext
(PdfDictionary annotation) Creates newPdfAnnotationContext
instance. -
Method Summary
Modifier and TypeMethodDescriptionGetsPdfDictionary
annotation instance.getType()
Gets type of the context.
-
Constructor Details
-
PdfAnnotationContext
Creates newPdfAnnotationContext
instance.- Parameters:
-
annotation
-PdfDictionary
annotation which was added
-
-
Method Details
-
getType
Gets type of the context.- Specified by:
-
getType
in interfaceIValidationContext
- Returns:
- the type
-
getAnnotation
GetsPdfDictionary
annotation instance.- Returns:
- annotation dictionary
-