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

public Class UndefAction

extends AbstractActionManager
Class Inheritance
Static Imports
org.apache.pdfbox.preflight.PreflightConstants.ERROR_ACTION_FORBIDDEN_ACTIONS_UNDEF

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

Modifier and TypeField and Description
private String
Inherited from org.apache.pdfbox.preflight.action.AbstractActionManager:
actionDictionarycontext

Constructor Summary

AccessConstructor and Description
public
UndefAction(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 COSDocument from which the action comes from.
ctx
,
String
The name of the key which identify the action in a additional action dictionary.
aaKey
,
String
the action type
name
)

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

Field Detail

actionNameback to summary
private String actionName

Constructor Detail

UndefActionback to summary
public UndefAction(ActionManagerFactory amFact, COSDictionary adict, PreflightContext ctx, String aaKey, String name)
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 COSDocument from which the action comes from.

aaKey:String

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

name:String

the action type

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