Top Fields Constructors Methods
org.apache.pdfbox.preflight.process.reflect

public Class SinglePageValidationProcess

extends AbstractProcess
Class Inheritance
Static Imports
org.apache.pdfbox.preflight.PreflightConfiguration.ACTIONS_PROCESS, .PreflightConfiguration.ANNOTATIONS_PROCESS, .PreflightConfiguration.GRAPHIC_PROCESS, .PreflightConfiguration.RESOURCES_PROCESS, .PreflightConstants.ERROR_GRAPHIC_INVALID, .PreflightConstants.ERROR_GRAPHIC_TRANSPARENCY_GROUP, .PreflightConstants.ERROR_UNKNOWN_ERROR

Field Summary

Modifier and TypeField and Description
private static final Log

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
protected void
validateActions(PreflightContext
the preflight context.
context
,
PDPage
the page to check.
page
)

This method checks additional actions contained in the given Page object.

protected void
validateAnnotation(PreflightContext
the preflight context.
context
,
PDPage
the page to check.
page
)

protected void
validateColorSpaces(PreflightContext
the preflight context.
context
,
PDPage
the page to check.
page
)

Check that all ColorSpace present in the Resource dictionary are conforming to the ISO 19005:2005-1 specification.

protected void
validateContent(PreflightContext
the preflight context.
context
,
PDPage
the page to check.
page
)

protected void
validateGraphicObjects(PreflightContext
the preflight context.
context
,
PDPage
the page to check.
page
)

Check that all XObject references in the PDResource of the page and in the Thumb entry are confirming to the PDF/A specification.

protected void
validateGroupTransparency(PreflightContext
the preflight context.
context
,
PDPage
the page to check.
page
)

Check that the group dictionary doesn't have a Transparency attribute

protected void
Inherited from org.apache.pdfbox.preflight.process.AbstractProcess:
addFontErroraddValidationErroraddValidationErrors

Field Detail

LOGGERback to summary
private static final Log LOGGER

Constructor Detail

SinglePageValidationProcessback to summary
public SinglePageValidationProcess()

Method Detail

validateback to summary
public void validate(PreflightContext context) throws ValidationException

Implements org.apache.pdfbox.preflight.process.ValidationProcess.validate.

Annotations
@Override
validateActionsback to summary
protected void validateActions(PreflightContext context, PDPage page) throws ValidationException

This method checks additional actions contained in the given Page object.

Parameters
context:PreflightContext

the preflight context.

page:PDPage

the page to check.

validateAnnotationback to summary
protected void validateAnnotation(PreflightContext context, PDPage page) throws ValidationException
Parameters
context:PreflightContext

the preflight context.

page:PDPage

the page to check.

validateColorSpacesback to summary
protected void validateColorSpaces(PreflightContext context, PDPage page)

Check that all ColorSpace present in the Resource dictionary are conforming to the ISO 19005:2005-1 specification.

Parameters
context:PreflightContext

the preflight context.

page:PDPage

the page to check.

validateContentback to summary
protected void validateContent(PreflightContext context, PDPage page) throws ValidationException
Parameters
context:PreflightContext

the preflight context.

page:PDPage

the page to check.

validateGraphicObjectsback to summary
protected void validateGraphicObjects(PreflightContext context, PDPage page) throws ValidationException

Check that all XObject references in the PDResource of the page and in the Thumb entry are confirming to the PDF/A specification.

Parameters
context:PreflightContext

the preflight context.

page:PDPage

the page to check.

validateGroupTransparencyback to summary
protected void validateGroupTransparency(PreflightContext context, PDPage page) throws ValidationException

Check that the group dictionary doesn't have a Transparency attribute

Parameters
context:PreflightContext

the preflight context.

page:PDPage

the page to check.

validateResourcesback to summary
protected void validateResources(PreflightContext context, PDPage page) throws ValidationException