Class GoToAction
java.lang.Object
org.apache.pdfbox.preflight.action.AbstractActionManager
org.apache.pdfbox.preflight.action.GoToAction
- Direct Known Subclasses:
GoToRemoteAction
ActionManager for the GoTo action. GoToAction is valid if the D entry is present.
-
Field Summary
Fields inherited from class org.apache.pdfbox.preflight.action.AbstractActionManager
actionDictionnary, context
-
Constructor Summary
ConstructorsConstructorDescriptionGoToAction
(ActionManagerFactory amFact, COSDictionary adict, PreflightContext ctx, String aaKey) -
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
-
Constructor Details
-
GoToAction
public GoToAction(ActionManagerFactory amFact, COSDictionary adict, PreflightContext ctx, String aaKey) - 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 preflight context.aaKey
- the name of the key which identifies the action in an additional action dictionary.
-
-
Method Details
-
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.
- Throws:
ValidationException
-