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 the given argument.
|
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 given arguments.
|
TextValidator |
TextValidator.containingZugferdData(XMLNode node)
This method verifies that the text of previously defined pages and regions
contains that text, which is extracted from the ZUGFeRD data from that
node, which is defined by the given parameter.
|
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.endingWith(java.lang.String expectedEnd,
WhitespaceProcessing whitespaceProcessing)
This method verifies that the text on every page in effect ends with the given parameter.
|
TextValidator |
TextValidator.equalsTo(java.lang.String expected)
This method verifies that the text on every page in effect is equals to
the expected value.
|
TextValidator |
TextValidator.equalsTo(java.lang.String expected,
WhitespaceProcessing whitespaceProcessing)
This method verifies that the text on every page in effect is equals to the expected value.
|
TextValidator |
DocumentValidator.hasText()
This method prepares the validation of text for the previously defined pages and regions.
|
TextValidator |
PageValidator.hasText()
This method prepares the validation of text for the previously defined pages and regions.
|
TextValidator |
TextValidator.hasText()
This method verifies that the previously selected pages or regions contain text.
|
TextValidator |
DocumentValidator.hasText(PagesToUse pagesToUse)
Deprecated.
|
TextValidator |
DocumentValidator.hasText(PagesToUse pagesToUse,
PageRegion region)
Deprecated.
|
TextValidator |
TextValidator.inOrder(java.lang.String... expectedTokens)
This method verifies, that the existing text of the current PDF document
contains all the expected tokens in order.
|
TextValidator |
TextValidator.inOrder(WhitespaceProcessing whitespaceProcessing,
java.lang.String... expectedTokens)
This method verifies, that the existing text of the current PDF document
contains all the expected tokens in order.
|
TextValidator |
TextValidator.matchingComplete(java.lang.String expected)
Deprecated.
|
TextValidator |
TextValidator.matchingComplete(java.lang.String expected,
WhitespaceProcessing whitespaceProcessing)
Deprecated.
|
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.
|
TextValidator |
TextValidator.startingWith(java.lang.String expectedStart,
WhitespaceProcessing whitespaceProcessing)
This method verifies that the text on every page in effect starts with the given parameter.
|
Constructor and Description |
---|
OrderedTextValidator(TextValidator textValidator,
java.util.Hashtable<java.lang.Integer,java.lang.String> filteredTextAllPages) |
Copyright (C) PDFUnit.com. See here for license.