Package | Description |
---|---|
com.pdfunit.validators |
Classes implementing validations on specific topics of PDF.
|
Modifier and Type | Method and Description |
---|---|
AllBookmarksValidator |
AllBookmarksValidator.hasBookmarks()
This method does what the name suggests.
|
AllBookmarksValidator |
DocumentValidator.hasBookmarks()
This method verifies that a PDF document has one ore more bookmarks.
|
AllBookmarksValidator |
AllBookmarksValidator.withDestinations()
This method verifies that no bookmark points to nothing (dead link).
|
AllBookmarksValidator |
BookmarkDetailsValidator.withLabel(java.lang.String expectedLabel)
Validating an existing bookmark label.
|
AllBookmarksValidator |
BookmarkDetailsValidator.withLabelLinkingToPage(java.lang.String expectedLabel,
int toPage)
This method verifies that a bookmark label (given by the first parameter) exists,
which points to the page (given by the second parameter).
|
AllBookmarksValidator |
BookmarkDetailsValidator.withLinkToName(java.lang.String expectedName)
This method uses xpath internally to look for bookmarks with a link
to the given name.
|
AllBookmarksValidator |
BookmarkDetailsValidator.withLinkToPage(int toPage)
The method verifies that a bookmark exists, which points to the page, given
by the parameter.
|
AllBookmarksValidator |
BookmarkDetailsValidator.withLinkToURI(java.lang.String expectedURI)
This method uses xpath internally to look for bookmarks with
the given uri.
|
AllBookmarksValidator |
AllBookmarksValidator.withoutDuplicateNames() |
Constructor and Description |
---|
BookmarkDetailsValidator(com.pdfunit.internal.spi.IDocument testDocument,
AllBookmarksValidator backReference) |
Copyright (C) PDFUnit.com. See here for license.