Modifier | Constructor and Description |
---|---|
protected |
BookmarkValidator(com.pdfunit.internal.spi.IDocument pdfDocument) |
Modifier and Type | Method and Description |
---|---|
BookmarkDetailsValidator |
hasBookmark()
This method does what the name suggests.
|
BookmarkValidator |
hasBookmarks()
This method does what the name suggests.
|
BookmarkValidator |
matchingXML(java.io.File xmlFile)
This method compares the bookmarks internally with the file given by the parameter.
|
BookmarkValidator |
matchingXML(java.lang.String filenameXML)
This method compares the bookmarks internally with the file given by the parameter.
|
BookmarkValidator |
matchingXPath(XPathExpression xpath)
This method extracts the bookmarks internally and runs the XPath expression
against it.
|
protected BookmarkValidator |
matchingXPath(XPathExpression xpath,
IPDFUnitMessage errorMessage)
This method evaluates whether a given xpath expression matches to the bookmark data
which are taken from the current document.
|
protected BookmarkValidator(com.pdfunit.internal.spi.IDocument pdfDocument)
public BookmarkDetailsValidator hasBookmark()
public BookmarkValidator hasBookmarks()
protected BookmarkValidator matchingXPath(XPathExpression xpath, IPDFUnitMessage errorMessage)
@Guarded public BookmarkValidator matchingXPath(XPathExpression xpath)
The bookmarks can be extracted with the class ExtractBookmarks.
ExtractBookmarks
@Guarded public BookmarkValidator matchingXML(java.io.File xmlFile)
The bookmarks can be extracted with the class ExtractBookmarks.
ExtractBookmarks
@Guarded public BookmarkValidator matchingXML(java.lang.String filenameXML)
The bookmarks can be extracted with the class ExtractBookmarks.
ExtractBookmarks
Copyright (C) PDFUnit.com. See here for license.