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, setFactoryprotected PDAnnotationLine pdLine
public LineAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary)
public boolean validate()
                 throws ValidationException
validate in class AnnotationValidatorValidationExceptionAnnotationValidator.validate()protected boolean checkIColors()
                        throws ValidationException
ValidationExceptionprotected boolean checkSpecificMandatoryFields()
AnnotationValidatorcheckSpecificMandatoryFields in class AnnotationValidatorCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.