public class XObjFormValidator extends AbstractXObjValidator
context, cosDocument, xobject
Constructor and Description |
---|
XObjFormValidator(PreflightContext context,
PDFormXObject xobj) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkGroup()
A Form XObject may contain a Group object (Key =" Group").
|
protected void |
checkMandatoryFields()
This method checks if required fields are present.
|
protected void |
checkPS()
Check if there are no PS entry in the Form XObject dictionary
|
protected void |
checkSubtype2Value()
Check the SUbtype2 entry according to the §6.2.5 of the ISO 190005-1:2005 specification.
|
void |
validate()
Process the validation of the XObject.
|
protected void |
validateXObjectContent()
An Form XObject is a ContentStream.
|
protected void |
validateXObjectResources() |
checkOPI, checkPostscriptXObject, checkReferenceXObject, checkSMask
public XObjFormValidator(PreflightContext context, PDFormXObject xobj)
public void validate() throws ValidationException
XObjectValidator
validate
in interface XObjectValidator
validate
in class AbstractXObjValidator
ValidationException
protected void checkMandatoryFields()
AbstractXObjValidator
checkMandatoryFields
in class AbstractXObjValidator
protected void validateXObjectContent() throws ValidationException
ValidationException
protected void checkGroup()
protected void checkPS()
protected void checkSubtype2Value()
protected void validateXObjectResources() throws ValidationException
ValidationException
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.