Package | Description |
---|---|
com.pdfunit.validators |
Classes implementing validations on specific topics of PDF.
|
Modifier and Type | Method and Description |
---|---|
TextValidator |
TextValidator.containing(java.lang.String... expectedTokens)
This method verifies that the text on every page in effect contains all given arguments.
|
TextValidator |
TextValidator.containing(java.lang.String expectedToken)
This method verifies that the text on every page in effect contains all given arguments.
|
TextValidator |
TextValidator.containing(java.lang.String[] expectedTokens,
WhitespaceProcessing whitespaceProcessing)
This method verifies that the text on every page, which is selected by the test,
contains all given arguments.
|
TextValidator |
TextValidator.containing(java.lang.String expectedToken,
WhitespaceProcessing whitespaceProcessing)
This method verifies that the text on every page in effect contains all given arguments.
|
TextValidator |
TextValidator.endingWith(java.lang.String expectedEnd)
This method verifies that the text on every page in effect ends with the given parameter.
|
TextValidator |
TextValidator.hasContent()
Deprecated.
This method is too unspecific.
Use hasText(PagesToUse) instead.
|
TextValidator |
DocumentValidator.hasContent(PagesToUse pagesToUse)
Deprecated.
Use hasText(PagesToUse) instead.
The name of this method is not clear enough.
|
TextValidator |
TextValidator.hasContent(PagesToUse pagesToUse)
Deprecated.
Use hasText(PagesToUse) instead.
The name of this method is not clear enough.
|
TextValidator |
DocumentValidator.hasContent(PagesToUse pagesToUse,
ClippingArea clippingArea)
Deprecated.
Use hasText(PagesToUse, ClippingArea) instead.
The name of this method is not clear enough.
|
TextValidator |
TextValidator.hasText()
This method verifies that content is at least on one page of the pages in effect.
|
TextValidator |
DocumentValidator.hasText(PagesToUse pagesToUse)
This method prepares the validation of text for every page in effect,
defined by the first parameter.
|
TextValidator |
TextValidator.hasText(PagesToUse pagesToUse)
Preparing validator for following methods.
|
TextValidator |
DocumentValidator.hasText(PagesToUse pagesToUse,
ClippingArea clippingArea)
This method prepares the validation of text for every page in effect, defined
by the first parameter, reduced to a section of every page, defined by the second parameter.
|
TextValidator |
TextValidator.inClippingArea(ClippingArea clippingArea,
int pageHeight)
This method stores parameters to reduce a text validation
to a section of one or more pages of a PDF document.
|
TextValidator |
TextValidator.isEmpty()
This method verifies that the page or a region of a page has
no content.
|
TextValidator |
TextValidator.matchingComplete(java.lang.String expected)
This method verifies that the text on every page in effect is equals to
the expected value.
|
TextValidator |
TextValidator.matchingComplete(java.lang.String expected,
WhitespaceProcessing whitespaceProcessing)
This method verifies that the text on every page in effect is equals to the expected value.
|
TextValidator |
TextValidator.matchingRegex(java.lang.String regex)
This method verifies that the text on every page in effect matches the regular
expression given by the parameter.
|
TextValidator |
TextValidator.notContaining(java.lang.String... notExpectedTokens)
This method verifies that the text on every page in effect does not contain the
string given by the parameter.
|
TextValidator |
TextValidator.notContaining(java.lang.String notExpectedToken)
This method verifies that the text on every page in effect does not contain the
string given by the parameter.
|
TextValidator |
TextValidator.notContaining(java.lang.String[] notExpectedTokens,
WhitespaceProcessing whitespaceProcessing)
This method verifies that the text on every page in effect does not contain the
string given by the parameter.
|
TextValidator |
TextValidator.notContaining(java.lang.String notExpectedToken,
WhitespaceProcessing whitespaceProcessing)
This method verifies that the text on every page in effect does not contain the
string given by the parameter.
|
TextValidator |
TextValidator.notEndingWith(java.lang.String notExpectedEnd)
This method verifies that the text on every page in effect does not end with the given parameter.
|
TextValidator |
TextValidator.notMatchingRegex(java.lang.String regex)
This method verifies that the text on every page in effect does not match
the regular expression given by the parameter.
|
TextValidator |
TextValidator.notStartingWith(java.lang.String notExpectedStart)
This method verifies that the text on every page in effect does not start
with the given parameter.
|
TextValidator |
TextValidator.startingWith(java.lang.String expectedStart)
This method verifies that the text on every page in effect starts with the given parameter.
|
Copyright (C) PDFUnit.com. See here for license.