Class NotSupportedFlattener
- java.lang.Object
-
- com.itextpdf.kernel.utils.annotationsflattening.NotSupportedFlattener
-
- All Implemented Interfaces:
IAnnotationFlattener
public class NotSupportedFlattener extends java.lang.Object implements IAnnotationFlattener
This class is used to warn that annotation flattening is not supported for the given annotation.
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.Logger
LOGGER
-
Constructor Summary
Constructors Constructor Description NotSupportedFlattener()
Creates a newNotSupportedFlattener
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
flatten(PdfAnnotation annotation, PdfPage page)
Logs a warning that annotation flattening is not supported for the given annotation.
-
-
-
Constructor Detail
-
NotSupportedFlattener
public NotSupportedFlattener()
Creates a newNotSupportedFlattener
instance.
-
-
Method Detail
-
flatten
public boolean flatten(PdfAnnotation annotation, PdfPage page)
Logs a warning that annotation flattening is not supported for the given annotation.- Specified by:
flatten
in interfaceIAnnotationFlattener
- Parameters:
annotation
- annotation to flattenpage
- page to flatten annotation on- Returns:
- true if annotation was flattened, false otherwise
-
-