@DoNotObfuscate public class AnyPage extends EveryPage implements com.pdfunit.filter.page.SingleMatchIntended
This class adds no functions to the superclass, but provides another name to the API with a slightly changed semantic: when a matcher found a match on one of many pages, the result is defined as true.
Modifier | Constructor and Description |
---|---|
protected |
AnyPage() |
Modifier and Type | Method and Description |
---|---|
PagesToUse |
after(int lowestPageExclusive)
This method does what the name suggests.
|
PagesToUse |
before(int highestPageExcluded)
This method does what the name suggests.
|
static AnyPage |
getPreparedInstance()
Creating an instance providing pagenumbers for all pages of a PDF document,
and signalling the validator the first match.
|
getInstance, getPageNumbersInEffect
getPage, getPages, spanningFrom
public static AnyPage getPreparedInstance()
The name is not 'getInstance()' because the same name in the super class has the effect, that the used coverage tool calculated wrong results.
public PagesToUse after(int lowestPageExclusive)
public PagesToUse before(int highestPageExcluded)
Copyright (C) PDFUnit.com. See here for license.