| Modifier | Constructor and Description |
|---|---|
protected |
DocumentOpenActionValidator(com.pdfunit.internal.spi.IDocument pdfDocument) |
| Modifier and Type | Method and Description |
|---|---|
DocumentOpenActionValidator |
containing(java.io.InputStream input)
Reading the content from the input stream and looking for an action,
containing that content.
|
DocumentOpenActionValidator |
containing(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
DocumentOpenActionValidator |
containing(java.io.Reader input)
Reading the content from the reader and looking for an action,
containing that content.
|
DocumentOpenActionValidator |
containing(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
containing that content, respecting the intended whitespace processing.
|
DocumentOpenActionValidator |
containing(java.lang.String expectedContent)
Looking for an action containing the expected content.
|
DocumentOpenActionValidator |
containing(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action containing the expected content, respecting the given
whitespace processing rule.
|
DocumentOpenActionValidator |
hasOpenAction()
This method does what the name suggests.
|
DocumentOpenActionValidator |
matchingComplete(java.io.InputStream input)
Reading the content from the input stream and looking for an action
having the same content.
|
DocumentOpenActionValidator |
matchingComplete(java.io.InputStream input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the input stream and looking for an action
having the same content, respecting the intended whitespace processing.
|
DocumentOpenActionValidator |
matchingComplete(java.io.Reader input)
Reading the content from the reader and looking for an action
having the same content.
|
DocumentOpenActionValidator |
matchingComplete(java.io.Reader input,
WhitespaceProcessing whitespaceProcessing)
Reading the content from the reader and looking for an action
having the same content, respecting the intended whitespace processing.
|
DocumentOpenActionValidator |
matchingComplete(java.lang.String expectedContent)
Looking for an action having the same content as of the given parameter.
|
DocumentOpenActionValidator |
matchingComplete(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action matching completely the expected content, respecting the given
whitespace processing rule.
|
DocumentOpenActionValidator |
matchingRegex(java.lang.String regex)
Looking for an action having a content that matches the regular expression.
|
DocumentOpenActionValidator |
withDestinationToPage(int expectedPageNumber)
Validating that the current document has an open with a destination to
the expected page.
|
readContent, readContentprotected DocumentOpenActionValidator(com.pdfunit.internal.spi.IDocument pdfDocument)
public DocumentOpenActionValidator hasOpenAction()
public DocumentOpenActionValidator withDestinationToPage(int expectedPageNumber)
public DocumentOpenActionValidator containing(java.io.Reader input)
containing in class com.pdfunit.validators.AbstractActionValidatorpublic DocumentOpenActionValidator containing(java.io.Reader input, WhitespaceProcessing whitespaceProcessing)
containing in class com.pdfunit.validators.AbstractActionValidatorpublic DocumentOpenActionValidator containing(java.io.InputStream input)
containing in class com.pdfunit.validators.AbstractActionValidatorpublic DocumentOpenActionValidator containing(java.io.InputStream input, WhitespaceProcessing whitespaceProcessing)
containing in class com.pdfunit.validators.AbstractActionValidatorpublic DocumentOpenActionValidator containing(java.lang.String expectedContent)
containing in class com.pdfunit.validators.AbstractActionValidatorpublic DocumentOpenActionValidator containing(java.lang.String expectedContent, WhitespaceProcessing whitespaceProcessing)
containing in class com.pdfunit.validators.AbstractActionValidatorpublic DocumentOpenActionValidator matchingComplete(java.io.InputStream input)
matchingComplete in class com.pdfunit.validators.AbstractActionValidatorpublic DocumentOpenActionValidator matchingComplete(java.io.InputStream input, WhitespaceProcessing whitespaceProcessing)
matchingComplete in class com.pdfunit.validators.AbstractActionValidatorpublic DocumentOpenActionValidator matchingComplete(java.io.Reader input)
matchingComplete in class com.pdfunit.validators.AbstractActionValidatorpublic DocumentOpenActionValidator matchingComplete(java.io.Reader input, WhitespaceProcessing whitespaceProcessing)
matchingComplete in class com.pdfunit.validators.AbstractActionValidatorpublic DocumentOpenActionValidator matchingComplete(java.lang.String expectedContent)
matchingComplete in class com.pdfunit.validators.AbstractActionValidatorpublic DocumentOpenActionValidator matchingComplete(java.lang.String expectedContent, WhitespaceProcessing whitespaceProcessing)
matchingComplete in class com.pdfunit.validators.AbstractActionValidatorpublic DocumentOpenActionValidator matchingRegex(java.lang.String regex)
matchingRegex in class com.pdfunit.validators.AbstractActionValidatorCopyright (C) PDFUnit.com. See here for license.