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 newPdfAnnotationContextinstance. -
Method Summary
Modifier and TypeMethodDescriptionGetsPdfDictionaryannotation instance.getType()Gets type of the context.
-
Constructor Details
-
PdfAnnotationContext
Creates newPdfAnnotationContextinstance.- Parameters:
-
annotation-PdfDictionaryannotation which was added
-
-
Method Details
-
getType
Gets type of the context.- Specified by:
-
getTypein interfaceIValidationContext - Returns:
- the type
-
getAnnotation
GetsPdfDictionaryannotation instance.- Returns:
- annotation dictionary
-