| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| private boolean | |
| protected boolean | Returns: true if all items are valid in this level.the preflight context. ctx, PDOutlineItem The first outline item of the level. inputItem, COSObject The first PDF object of the level. firstObj, COSObject The last PDF object of the level. lastObj)This method explores the Outline Item Level and calls a validation method on each Outline Item. |
| private boolean | Returns: true if the Count entry > 0.the dictionary representing the document outline. outline)return true if Count entry > 0 |
| private boolean | Returns: true if the Count entry is present.the dictionary representing the document outline. outline)Return true if the Count entry is present in the given dictionary. |
| private COSObject | Returns: null if the parameter is COSNull or null; or else a COSObject.should be null, COSNull or a COSObject. base)Returns a COSBase as a COSObject or null if null or COSNull. |
| public void | |
| protected boolean | Returns: the validation result.the preflight context. ctx, PDOutlineItem outline item to validate inputItem)This method checks the inputItem dictionary and call the exploreOutlineLevel method on the first child if it is not null. |
| BookmarkValidationProcess | back to summary |
|---|---|
| public BookmarkValidationProcess() | |
| checkIndirectObject | back to summary |
|---|---|
| private boolean checkIndirectObject(PreflightContext ctx, COSDictionary dictionary, COSName name) | |
| checkIndirectObjects | back to summary |
|---|---|
| private boolean checkIndirectObjects(PreflightContext ctx, COSDictionary dictionary) | |
| exploreOutlineLevel | back to summary |
|---|---|
| protected boolean exploreOutlineLevel(PreflightContext ctx, PDOutlineItem inputItem, COSObject firstObj, COSObject lastObj) throws ValidationException This method explores the Outline Item Level and calls a validation method on each Outline Item. If an invalid outline item is found, the result list is updated.
| |
| isCountEntryPositive | back to summary |
|---|---|
| private boolean isCountEntryPositive(COSDictionary outline) return true if Count entry > 0
| |
| isCountEntryPresent | back to summary |
|---|---|
| private boolean isCountEntryPresent(COSDictionary outline) Return true if the Count entry is present in the given dictionary.
| |
| toCOSObject | back to summary |
|---|---|
| private COSObject toCOSObject(COSBase base) Returns a COSBase as a COSObject or null if null or COSNull. To avoid
trouble, this method is to be called only after having called
| |
| validate | back to summary |
|---|---|
| public void validate(PreflightContext ctx) throws ValidationException Implements org.
| |
| validateItem | back to summary |
|---|---|
| protected boolean validateItem(PreflightContext ctx, PDOutlineItem inputItem) throws ValidationException This method checks the inputItem dictionary and call the exploreOutlineLevel method on the first child if it is not null.
| |