Class InvalidAction
java.lang.Object
org.apache.pdfbox.preflight.action.AbstractActionManager
org.apache.pdfbox.preflight.action.InvalidAction
ActionManager for InvalidAction. An invalid action is an action which isn't authorized in a PDF/A file but should be
valid in a standard PDF file.
-
Field Summary
FieldsFields inherited from class org.apache.pdfbox.preflight.action.AbstractActionManager
actionDictionnary, context
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidAction
(ActionManagerFactory amFact, COSDictionary adict, PreflightContext ctx, String aaKey, String name) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
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
-
Field Details
-
actionName
-
-
Constructor Details
-
InvalidAction
public InvalidAction(ActionManagerFactory amFact, COSDictionary adict, PreflightContext ctx, String aaKey, 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 DocumentHandler 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 Details
-
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.
-