public class LineAnnotationValidator extends AnnotationValidator
Modifier and Type | Field and Description |
---|---|
protected PDAnnotationLine |
pdLine
PDFBox object which wraps the annotation dictionary
|
annotDictionary, ctx, pdAnnot
Constructor and Description |
---|
LineAnnotationValidator(PreflightContext ctx,
COSDictionary annotDictionary) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkIColors()
Return true if the IC field is present in the Annotation dictionary and if the RGB profile is used in the
DestOutputProfile of the OutputIntent dictionary.
|
protected boolean |
checkSpecificMandatoryFields()
Override this method to check the presence of specific fields
|
boolean |
validate()
In addition of the AnnotationValidator.validate() method, this method executes the checkIColors method.
|
checkActions, checkAP, checkCA, checkColors, checkFlags, checkMandatoryFields, checkPopup, searchRGBProfile, setFactory
protected PDAnnotationLine pdLine
public LineAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary)
public boolean validate() throws ValidationException
validate
in class AnnotationValidator
ValidationException
AnnotationValidator.validate()
protected boolean checkIColors() throws ValidationException
ValidationException
protected boolean checkSpecificMandatoryFields()
AnnotationValidator
checkSpecificMandatoryFields
in class AnnotationValidator
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.