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