@DoNotObfuscate
public final class BookmarkDetailsValidator
extends com.pdfunit.validators.AbstractValidator
Modifier | Constructor and Description |
---|---|
protected |
BookmarkDetailsValidator(com.pdfunit.internal.spi.IDocument testDocument,
AllBookmarksValidator backReference) |
Modifier and Type | Method and Description |
---|---|
AllBookmarksValidator |
withLabel(java.lang.String expectedLabel)
Validating an existing bookmark label.
|
AllBookmarksValidator |
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 |
withLinkToName(java.lang.String expectedName)
This method uses xpath internally to look for bookmarks with a link
to the given name.
|
AllBookmarksValidator |
withLinkToPage(int toPage)
The method verifies that a bookmark exists, which points to the page, given
by the parameter.
|
AllBookmarksValidator |
withLinkToURI(java.lang.String expectedURI)
This method uses xpath internally to look for bookmarks with
the given uri.
|
protected BookmarkDetailsValidator(com.pdfunit.internal.spi.IDocument testDocument, AllBookmarksValidator backReference)
@Guarded public AllBookmarksValidator withLabel(java.lang.String expectedLabel)
@Guarded public AllBookmarksValidator withLabelLinkingToPage(java.lang.String expectedLabel, int toPage)
@Guarded public AllBookmarksValidator withLinkToPage(int toPage)
@Guarded public AllBookmarksValidator withLinkToURI(java.lang.String expectedURI)
@Guarded public AllBookmarksValidator withLinkToName(java.lang.String expectedName)
Copyright (C) PDFUnit.com. See here for license.