public class SinglePageValidationProcess extends AbstractProcess
| Constructor and Description |
|---|
SinglePageValidationProcess() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(PreflightContext context) |
protected void |
validateActions(PreflightContext context,
PDPage page)
This method checks additional actions contained in the given Page object.
|
protected void |
validateAnnotation(PreflightContext context,
PDPage page) |
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.
|
protected void |
validateContent(PreflightContext context,
PDPage page) |
protected void |
validateGraphicObjects(PreflightContext context,
PDPage 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 context,
PDPage page)
Check that the group dictionary doesn't have a Transparency attribute
|
protected void |
validateResources(PreflightContext context,
PDPage page) |
addFontError, addValidationError, addValidationErrorspublic void validate(PreflightContext context) throws ValidationException
ValidationExceptionprotected void validateActions(PreflightContext context, PDPage page) throws ValidationException
context - the preflight context.page - the page to check.ValidationExceptionprotected void validateColorSpaces(PreflightContext context, PDPage page)
context - the preflight context.page - the page to check.protected void validateGraphicObjects(PreflightContext context, PDPage page) throws ValidationException
context - the preflight context.page - the page to check.ValidationExceptionprotected void validateResources(PreflightContext context, PDPage page) throws ValidationException
ValidationExceptionprotected void validateContent(PreflightContext context, PDPage page) throws ValidationException
context - the preflight context.page - the page to check.ValidationExceptionprotected void validateAnnotation(PreflightContext context, PDPage page) throws ValidationException
context - the preflight context.page - the page to check.ValidationExceptionprotected void validateGroupTransparency(PreflightContext context, PDPage page) throws ValidationException
context - the preflight context.page - the page to check.ValidationExceptionCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.