@DoNotObfuscate
public final class PropertyValidator
extends com.pdfunit.validators.AbstractValidator
This class is the superclass for other more specific validators for 'Author', 'Creator' etc.
Modifier | Constructor and Description |
---|---|
protected |
PropertyValidator(DocumentValidator documentValidator) |
Modifier and Type | Method and Description |
---|---|
DocumentValidator |
containing(java.lang.String expectedContent)
This method does what the name suggests.
|
DocumentValidator |
containing(java.lang.String expectedContent,
WhitespaceProcessing whitespaceProcessing)
This method does what the name suggests.
|
DocumentValidator |
endingWith(java.lang.String expectedEnd)
This method does what the name suggests.
|
DocumentValidator |
equalsTo(java.lang.String expectedValue)
This method does what the name suggests.
|
protected DocumentValidator |
hasNoProperty(java.lang.String key)
This method does what the name suggests.
|
protected DocumentValidator |
hasProperty(java.lang.String key)
This method does what the name suggests.
|
DocumentValidator |
matchingRegex(java.lang.String regex)
This method does what the name suggests.
|
DocumentValidator |
notContaining(java.lang.String notExpectedContent)
This method does what the name suggests.
|
DocumentValidator |
notMatchingRegex(java.lang.String regex)
This method does what the name suggests.
|
DocumentValidator |
startingWith(java.lang.String expectedStart)
This method does what the name suggests.
|
protected PropertyValidator(DocumentValidator documentValidator)
protected DocumentValidator hasProperty(java.lang.String key)
protected DocumentValidator hasNoProperty(java.lang.String key)
@Guarded public DocumentValidator containing(java.lang.String expectedContent)
@Guarded public DocumentValidator containing(java.lang.String expectedContent, WhitespaceProcessing whitespaceProcessing)
@Guarded public DocumentValidator endingWith(java.lang.String expectedEnd)
@Guarded public DocumentValidator equalsTo(java.lang.String expectedValue)
@Guarded public DocumentValidator notContaining(java.lang.String notExpectedContent)
@Guarded public DocumentValidator notMatchingRegex(java.lang.String regex)
@Guarded public DocumentValidator startingWith(java.lang.String expectedStart)
@Guarded public DocumentValidator matchingRegex(java.lang.String regex)
Copyright (C) PDFUnit.com. See here for license.