public class XObjImageValidator extends AbstractXObjValidator
Modifier and Type | Field and Description |
---|---|
protected PDImageXObject |
xImage |
context, cosDocument, xobject
Constructor and Description |
---|
XObjImageValidator(PreflightContext context,
PDImageXObject xobj) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkAlternates() |
protected void |
checkColorSpaceAndImageMask() |
protected void |
checkIntent() |
protected void |
checkInterpolate() |
protected void |
checkMandatoryFields()
This method checks if required fields are present.
|
void |
validate()
Process the validation of the XObject.
|
checkOPI, checkPostscriptXObject, checkReferenceXObject, checkSMask
protected PDImageXObject xImage
public XObjImageValidator(PreflightContext context, PDImageXObject xobj)
protected void checkMandatoryFields()
AbstractXObjValidator
checkMandatoryFields
in class AbstractXObjValidator
protected void checkAlternates() throws ValidationException
ValidationException
protected void checkInterpolate() throws ValidationException
ValidationException
protected void checkIntent() throws ValidationException
ValidationException
protected void checkColorSpaceAndImageMask() throws ValidationException
ValidationException
public void validate() throws ValidationException
XObjectValidator
validate
in interface XObjectValidator
validate
in class AbstractXObjValidator
ValidationException
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.