@DoNotObfuscate
public final class MultiDocumentTextValidator
extends java.lang.Object
TextValidator
Modifier | Constructor and Description |
---|---|
protected |
MultiDocumentTextValidator(MultiDocumentValidator multiDocumentValidator) |
Modifier and Type | Method and Description |
---|---|
MultiDocumentTextValidator |
containing(java.lang.String... expectedTokens)
This method checks that each document of a set of given PDF documents
contains the expected text in the pages and areas that are defined before.
|
MultiDocumentTextValidator |
containing(java.lang.String expectedToken)
This method checks that each document of a set of given PDF documents
contains the expected text in the pages and areas that are defined before.
|
MultiDocumentTextValidator |
containing(java.lang.String[] expectedTokens,
WhitespaceProcessing whitespaceProcessing)
This method checks that each document of a set of given PDF documents
contains the expected text in the pages and areas that are defined before.
|
MultiDocumentTextValidator |
endingWith(java.lang.String expectedToken)
This method verifies for each document that the text on every page in effect
ends with the given parameter.
|
MultiDocumentTextValidator |
equalsTo(java.lang.String expectedToken)
This method verifies for each document that the text on every page in effect is equals to
the expected value.
|
MultiDocumentTextValidator |
equalsTo(java.lang.String expectedText,
WhitespaceProcessing whitespaceProcessing)
This method verifies for each document that the text on every page in effect is equals to
the expected value.
|
void |
hasNoText()
This method checks, that each document of the given set of PDF documents
does not have text in the defined pages.
|
MultiDocumentTextValidator |
hasText()
This method checks that each document of the given set of PDF documents
contains text on the pages that are defined by the parameter.
|
MultiDocumentTextValidator |
matchingRegex(java.lang.String expectedToken)
This method verifies for each document that the text on every page in effect
matches the regular expression given by the parameter.
|
MultiDocumentTextValidator |
notContaining(java.lang.String... expectedTokens)
This method checks that each document of a set of given PDF documents
does not contain the expected text in the pages and areas that are defined before.
|
MultiDocumentTextValidator |
notContaining(java.lang.String expectedToken)
This method checks that each document of a set of given PDF documents
does not contain the expected text in the pages and areas that are defined before.
|
MultiDocumentTextValidator |
notContaining(java.lang.String[] expectedTokens,
WhitespaceProcessing normalize)
This method checks that each document of a set of given PDF documents
does not contain the expected text in the pages and areas that are defined before.
|
MultiDocumentTextValidator |
notEndingWith(java.lang.String expectedToken)
This method verifies for each document that the text on every page in effect
does not end with the given parameter.
|
MultiDocumentTextValidator |
notMatchingRegex(java.lang.String expectedToken)
This method verifies for each document that the text on every page in effect
does not match the regular expression given by the parameter.
|
MultiDocumentTextValidator |
notStartingWith(java.lang.String expectedToken)
This method verifies for each document that the text on every page in effect
does not start with the given parameter.
|
MultiDocumentTextValidator |
startingWith(java.lang.String expectedToken)
This method verifies for each document that the text on every page in effect starts
with the given parameter.
|
protected MultiDocumentTextValidator(MultiDocumentValidator multiDocumentValidator)
@Guarded public MultiDocumentTextValidator containing(java.lang.String expectedToken)
@Guarded public MultiDocumentTextValidator containing(java.lang.String... expectedTokens)
@Guarded public MultiDocumentTextValidator containing(java.lang.String[] expectedTokens, WhitespaceProcessing whitespaceProcessing)
@Guarded public MultiDocumentTextValidator endingWith(java.lang.String expectedToken)
public void hasNoText()
An exceptions is thrown, when text was found.
public MultiDocumentTextValidator hasText()
@Guarded public MultiDocumentTextValidator equalsTo(java.lang.String expectedToken)
WhitespaceProcessing
@Guarded public MultiDocumentTextValidator equalsTo(java.lang.String expectedText, WhitespaceProcessing whitespaceProcessing)
WhitespaceProcessing
@Guarded public MultiDocumentTextValidator matchingRegex(java.lang.String expectedToken)
@Guarded public MultiDocumentTextValidator notContaining(java.lang.String expectedToken)
@Guarded public MultiDocumentTextValidator notContaining(java.lang.String... expectedTokens)
@Guarded public MultiDocumentTextValidator notEndingWith(java.lang.String expectedToken)
@Guarded public MultiDocumentTextValidator notMatchingRegex(java.lang.String expectedToken)
@Guarded public MultiDocumentTextValidator notStartingWith(java.lang.String expectedToken)
@Guarded public MultiDocumentTextValidator notContaining(java.lang.String[] expectedTokens, WhitespaceProcessing normalize)
@Guarded public MultiDocumentTextValidator startingWith(java.lang.String expectedToken)
Copyright (C) PDFUnit.com. See here for license.