Top Fields Constructors Methods
org.apache.pdfbox.preflight.annotation

public abstract Class AnnotationValidatorFactory

extends Object
Class Inheritance
Known Direct Subclasses
org.apache.pdfbox.preflight.annotation.pdfa.PDFAbAnnotationFactory
Static Imports
org.apache.pdfbox.preflight.PreflightConstants.ERROR_ANNOT_FORBIDDEN_SUBTYPE

Field Summary

Modifier and TypeField and Description
protected ActionManagerFactory
protected final Map<String, Class<? extends AnnotationValidator>>

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public final AnnotationValidator

Returns:

the AnnotationValidator instance.
getAnnotationValidator
(PreflightContext
the preflight context.
ctx
,
COSDictionary
the annotation dictionary.
annotDic
)

Return an instance of AnnotationValidator.

protected abstract void
initializeClasses()

Initialize the map of Validation classes used to create a validation object according to the Annotation subtype.

public final void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

actionFactback to summary
protected ActionManagerFactory actionFact
validatorClassesback to summary
protected final Map<String, Class<? extends AnnotationValidator>> validatorClasses

Constructor Detail

AnnotationValidatorFactoryback to summary
public AnnotationValidatorFactory()
AnnotationValidatorFactoryback to summary
public AnnotationValidatorFactory(ActionManagerFactory actionFact)

Method Detail

getAnnotationValidatorback to summary
public final AnnotationValidator getAnnotationValidator(PreflightContext ctx, COSDictionary annotDic) throws ValidationException

Return an instance of AnnotationValidator.

Parameters
ctx:PreflightContext

the preflight context.

annotDic:COSDictionary

the annotation dictionary.

Returns:AnnotationValidator

the AnnotationValidator instance.

initializeClassesback to summary
protected abstract void initializeClasses()

Initialize the map of Validation classes used to create a validation object according to the Annotation subtype.

setActionFactback to summary
public final void setActionFact(ActionManagerFactory _actionFact)