| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | callCreateAction(COSBase
a COSBase object (COSObject or COSDictionary) which represent the action dictionary. aDict, PreflightContext the preflight context. ctx, List<AbstractActionManager> the list of ActionManager to updated if the aDict parameter is valid. result, Map<COSObjectKey, Boolean> This map is used to know if an Action has already been validated. It is useful to avoid infinite loop
in an action which has a Next entry. alreadyCreated)Call the callCreateAction(COSBase, COSDocument, List<actionmanager>, String) method with null as isAA parameter. |
| private void | callCreateAction(COSBase
a COSBase object (COSObject or COSDictionary) which represent the action dictionary. aDict, PreflightContext the preflight validation context. ctx, List<AbstractActionManager> the list of ActionManager to updated if the aDict parameter is valid. result, String the Action identifier if it is an additional action additionActionKey, Map<COSObjectKey, Boolean> This map is used to know if an Action has already been validated. It is useful to avoid infinite loop
in an action which has a Next entry. alreadyCreated)Call the create action to add the ActionManager to the result list. |
| protected AbstractActionManager | Returns: the ActionManager instance.the preflight context. ctx, COSDictionary the action dictionary used to instantiate the ActionManager action, String the Action identifier if it is an additional action aaKey)Create an instance of ActionManager according to the value of the S entry. |
| public final List | Returns: the list of actions from the given dictionary.the preflight context. ctx, COSDictionary the dictionary to retrieve the actions from. dictionary)This method extract actions from the given dictionary. |
| public final List | Returns: the list of actions from the given dictionary.the preflight context. ctx, COSDictionary the dictionary to retrieve the actions from. actionDictionary)Returns all actions contained by the Next entry. |
| ActionManagerFactory | back to summary |
|---|---|
| public ActionManagerFactory() | |
| callCreateAction | back to summary |
|---|---|
| private void callCreateAction(COSBase aDict, PreflightContext ctx, List<AbstractActionManager> result, Map<COSObjectKey, Boolean> alreadyCreated) throws ValidationException Call the callCreateAction(COSBase, COSDocument, List a COSBase object (COSObject or COSDictionary) which represent the action dictionary.
the preflight context.
the list of ActionManager to updated if the aDict parameter is valid.
This map is used to know if an Action has already been validated. It is useful to avoid infinite loop
in an action which has a Next entry.
| |
| callCreateAction | back to summary |
|---|---|
| private void callCreateAction(COSBase aDict, PreflightContext ctx, List<AbstractActionManager> result, String additionActionKey, Map<COSObjectKey, Boolean> alreadyCreated) throws ValidationException Call the create action to add the ActionManager to the result list. If the aDict parameter isn't an instance of COSDictionary, this method throws a ValidationException. If the aDict parameter is a reference to a COSDictionary, the action manager is create only if the linked COSObjectKey is missing from the "alreadyCreated" map, in this case the action is added to the map. If the aDict parameter is an instance of COSDictionary, it is impossible to check if the ActionManager already exists in the "alreadyCreated" map.
| |
| createActionManager | back to summary |
|---|---|
| protected AbstractActionManager createActionManager(PreflightContext ctx, COSDictionary action, String aaKey) throws ValidationException Create an instance of ActionManager according to the value of the S entry. If the type entry isn't Action, a ValidationException will be thrown. If the action type isn't authorized in a PDF/A file, an instance of InvalidAction is returned.
| |
| getActionManagers | back to summary |
|---|---|
| public final List This method extract actions from the given dictionary. An action is identified by the following entries :
| |
| getNextActions | back to summary |
|---|---|
| public final List Returns all actions contained by the Next entry. If the action dictionary doesn't have Next action, the result is an empty list.
| |