Top Description Fields Constructors Methods
org.apache.pdfbox.preflight.action

public Class NamedAction

extends AbstractActionManager
Class Inheritance
Static Imports
org.apache.pdfbox.preflight.PreflightConstants.ACTION_DICTIONARY_VALUE_ATYPE_NAMED_FIRST, .PreflightConstants.ACTION_DICTIONARY_VALUE_ATYPE_NAMED_LAST, .PreflightConstants.ACTION_DICTIONARY_VALUE_ATYPE_NAMED_NEXT, .PreflightConstants.ACTION_DICTIONARY_VALUE_ATYPE_NAMED_PREV, .PreflightConstants.ERROR_ACTION_FORBIDDEN_ACTIONS_NAMED, .PreflightConstants.ERROR_ACTION_MISING_KEY

ActionManager for the Named action. Named action is valid if N entry is present with one of the four values :

Field Summary

Inherited from org.apache.pdfbox.preflight.action.AbstractActionManager:
actionDictionarycontext

Constructor Summary

AccessConstructor and Description
public
NamedAction(ActionManagerFactory
Instance of ActionManagerFactory used to create ActionManager to check Next actions.
amFact
,
COSDictionary
the COSDictionary of the action wrapped by this class.
adict
,
PreflightContext
the preflight context.
ctx
,
String
the name of the key which identify the action in a additional action dictionary.
aaKey
)

Method Summary

Modifier and TypeMethod and Description
protected boolean
innerValid()

Implements abstract org.apache.pdfbox.preflight.action.AbstractActionManager.innerValid.

This method must be implemented by inherited classes to process specific validation.

Inherited from org.apache.pdfbox.preflight.action.AbstractActionManager:
getActionDictionarygetAdditionalActionKeyisAdditionalActionvalidvalidvalidNextActions

Constructor Detail

NamedActionback to summary
public NamedAction(ActionManagerFactory amFact, COSDictionary adict, PreflightContext ctx, String aaKey)
Parameters
amFact:ActionManagerFactory

Instance of ActionManagerFactory used to create ActionManager to check Next actions.

adict:COSDictionary

the COSDictionary of the action wrapped by this class.

ctx:PreflightContext

the preflight context.

aaKey:String

the name of the key which identify the action in a additional action dictionary.

Method Detail

innerValidback to summary
protected boolean innerValid()

Implements abstract org.apache.pdfbox.preflight.action.AbstractActionManager.innerValid.

Doc from org.apache.pdfbox.preflight.action.AbstractActionManager.innerValid.

This method must be implemented by inherited classes to process specific validation.

Returns:boolean

True if the action is valid, false otherwise.

Annotations
@Override