Class PdfAnnotationFlattenFactory
- java.lang.Object
-
- com.itextpdf.kernel.utils.annotationsflattening.PdfAnnotationFlattenFactory
-
public class PdfAnnotationFlattenFactory extends java.lang.ObjectHelper class to retrieve the annotation flatten worker for the specified annotation subtype.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.HashMap<PdfName,java.util.function.Supplier<IAnnotationFlattener>>mapprivate static PdfNameUNKNOWN
-
Constructor Summary
Constructors Constructor Description PdfAnnotationFlattenFactory()Creates a newPdfAnnotationFlattenFactoryinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IAnnotationFlattenergetAnnotationFlattenWorker(PdfName name)Gets the annotation flatten worker for the specified annotation subtype.
-
-
-
Field Detail
-
map
private static final java.util.HashMap<PdfName,java.util.function.Supplier<IAnnotationFlattener>> map
-
UNKNOWN
private static final PdfName UNKNOWN
-
-
Constructor Detail
-
PdfAnnotationFlattenFactory
public PdfAnnotationFlattenFactory()
Creates a newPdfAnnotationFlattenFactoryinstance.
-
-
Method Detail
-
getAnnotationFlattenWorker
public IAnnotationFlattener getAnnotationFlattenWorker(PdfName name)
Gets the annotation flatten worker for the specified annotation subtype.- Parameters:
name- the annotation subtype. If the subtype is unknown, the worker for the null type will be returned.- Returns:
- the annotation flatten worker
-
-