Modifier | Constructor and Description |
---|---|
protected |
AnyActionValidator(com.pdfunit.internal.spi.IDocument pdfDocument) |
Modifier and Type | Method and Description |
---|---|
AnyActionValidator |
containing(java.io.InputStream input)
Reading the content from the input stream and looking for an action,
containing that content.
|
AnyActionValidator |
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.
|
AnyActionValidator |
containing(java.io.Reader input)
Reading the content from the reader and looking for an action,
containing that content.
|
AnyActionValidator |
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.
|
AnyActionValidator |
containing(java.lang.String expectedContent)
Looking for an action containing the expected content.
|
AnyActionValidator |
containing(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action containing the expected content, respecting the given
whitespace processing rule.
|
AnyActionValidator |
hasAction()
This method does what the name suggests.
|
AnyActionValidator |
matchingComplete(java.io.InputStream input)
Reading the content from the input stream and looking for an action
having the same content.
|
AnyActionValidator |
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.
|
AnyActionValidator |
matchingComplete(java.io.Reader input)
Reading the content from the reader and looking for an action
having the same content.
|
AnyActionValidator |
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.
|
AnyActionValidator |
matchingComplete(java.lang.String expectedContent)
Looking for an action having the same content as of the given parameter.
|
AnyActionValidator |
matchingComplete(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
Looking for an action matching completely the expected content, respecting the given
whitespace processing rule.
|
AnyActionValidator |
matchingRegex(java.lang.String regex)
Looking for an action having a content that matches the regular expression.
|
readContent, readContent
protected AnyActionValidator(com.pdfunit.internal.spi.IDocument pdfDocument)
public AnyActionValidator hasAction()
public AnyActionValidator containing(java.io.Reader input)
containing
in class com.pdfunit.validators.AbstractActionValidator
public AnyActionValidator containing(java.io.Reader input, WhitespaceProcessing whitespaceProcessing)
containing
in class com.pdfunit.validators.AbstractActionValidator
public AnyActionValidator containing(java.io.InputStream input)
containing
in class com.pdfunit.validators.AbstractActionValidator
public AnyActionValidator containing(java.io.InputStream input, WhitespaceProcessing whitespaceProcessing)
containing
in class com.pdfunit.validators.AbstractActionValidator
public AnyActionValidator containing(java.lang.String expectedContent)
containing
in class com.pdfunit.validators.AbstractActionValidator
public AnyActionValidator containing(java.lang.String expectedContent, WhitespaceProcessing whitespaceProcessing)
containing
in class com.pdfunit.validators.AbstractActionValidator
public AnyActionValidator matchingComplete(java.io.InputStream input)
matchingComplete
in class com.pdfunit.validators.AbstractActionValidator
public AnyActionValidator matchingComplete(java.io.InputStream input, WhitespaceProcessing whitespaceProcessing)
matchingComplete
in class com.pdfunit.validators.AbstractActionValidator
public AnyActionValidator matchingComplete(java.io.Reader input)
matchingComplete
in class com.pdfunit.validators.AbstractActionValidator
public AnyActionValidator matchingComplete(java.io.Reader input, WhitespaceProcessing whitespaceProcessing)
matchingComplete
in class com.pdfunit.validators.AbstractActionValidator
public AnyActionValidator matchingComplete(java.lang.String expectedContent)
matchingComplete
in class com.pdfunit.validators.AbstractActionValidator
public AnyActionValidator matchingComplete(java.lang.String expectedContent, WhitespaceProcessing whitespaceProcessing)
matchingComplete
in class com.pdfunit.validators.AbstractActionValidator
public AnyActionValidator matchingRegex(java.lang.String regex)
matchingRegex
in class com.pdfunit.validators.AbstractActionValidator
Copyright (C) PDFUnit.com. See here for license.