Package com.itextpdf.forms.fields
Class FormsMetaInfoStaticContainer
java.lang.Object
com.itextpdf.forms.fields.FormsMetaInfoStaticContainer
Class to store meta info that will be used in forms module in static context.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
useMetaInfoDuringTheAction
(MetaInfoContainer metaInfoContainer, Action action) Sets meta info related to forms into static context, executes the action and then cleans meta info.
-
Method Details
-
useMetaInfoDuringTheAction
Sets meta info related to forms into static context, executes the action and then cleans meta info.Keep in mind that this instance will only be accessible from the same thread.
- Parameters:
-
metaInfoContainer
- instance to be set. -
action
- action which will be executed while meta info is set to static context.
-