Class UndefAction
- java.lang.Object
-
- org.apache.pdfbox.preflight.action.AbstractActionManager
-
- org.apache.pdfbox.preflight.action.UndefAction
-
public class UndefAction extends AbstractActionManager
ActionManager for Undefined Actions. An undefined action is an action which isn't declared in the PDF Reference Third Edition. This kind of actions are forbidden to avoid wrong result due to new features which can't be consistent with the PDF/A-1 format
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
actionName
-
Fields inherited from class org.apache.pdfbox.preflight.action.AbstractActionManager
actionDictionnary, context
-
-
Constructor Summary
Constructors Constructor Description UndefAction(ActionManagerFactory amFact, COSDictionary adict, PreflightContext ctx, java.lang.String aaKey, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
innerValid()
This method must be implemented by inherited classes to process specific validation.-
Methods inherited from class org.apache.pdfbox.preflight.action.AbstractActionManager
getActionDictionnary, getAdditionalActionKey, isAdditionalAction, valid, valid, validNextActions
-
-
-
-
Constructor Detail
-
UndefAction
public UndefAction(ActionManagerFactory amFact, COSDictionary adict, PreflightContext ctx, java.lang.String aaKey, java.lang.String name)
- Parameters:
amFact
- Instance of ActionManagerFactory used to create ActionManager to check Next actions.adict
- the COSDictionary of the action wrapped by this class.ctx
- the COSDocument from which the action comes from.aaKey
- The name of the key which identify the action in a additional action dictionary.name
- the action type
-
-
Method Detail
-
innerValid
protected boolean innerValid()
Description copied from class:AbstractActionManager
This method must be implemented by inherited classes to process specific validation.- Specified by:
innerValid
in classAbstractActionManager
- Returns:
- True if the action is valid, false otherwise.
-
-