@DoNotObfuscate
public final class MultiDocumentSingleFieldValidator
extends java.lang.Object
SingleFieldValidator
Type | Property and Description |
---|---|
MultiDocumentFieldPropertyValidator |
with |
Modifier | Constructor and Description |
---|---|
protected |
MultiDocumentSingleFieldValidator(MultiDocumentValidator backReference) |
Modifier and Type | Method and Description |
---|---|
MultiDocumentSingleFieldValidator |
containing(java.lang.String expectedValue)
Validating that the content of the current field contains the value given by the parameter.
|
MultiDocumentSingleFieldValidator |
endingWith(java.lang.String expectedValue)
Validating that the content of the current field ends with the value given by the parameter.
|
MultiDocumentSingleFieldValidator |
equalsTo(java.lang.String expectedValue)
Validating that the content of the current field is equal to the given parameter.
|
MultiDocumentSingleFieldValidator |
hasField(java.lang.String expectedFieldName)
This method verifies that each of the given PDF document has a field with the expected name.
|
MultiDocumentSingleFieldValidator |
matchingRegex(java.lang.String regex)
Validating that the content of the current field matches the regular expression.
|
MultiDocumentSingleFieldValidator |
notContaining(java.lang.String expectedValue)
Validating that the content of the current field does NOT contain the value given by the parameter.
|
MultiDocumentSingleFieldValidator |
notMatchingRegex(java.lang.String regex)
Validating that the content of the current field does not match the regular expression.
|
MultiDocumentSingleFieldValidator |
ofType(FieldType expectedType)
This method verifies that each of the given PDF document has a field with the expected type.
|
MultiDocumentSingleFieldValidator |
startingWith(java.lang.String expectedValue)
Validating that the content of the current field starts with the value given by the parameter.
|
MultiDocumentSingleFieldValidator |
withHeight(int expectedHeight)
This method verifies that the current field has the height equals to the given parameter.
|
MultiDocumentSingleFieldValidator |
withHeight(int expectedHeight,
FormatUnit formatUnit,
int allowedDelta)
This method verifies that the current field of each PDF document has the height
equals to the given parameter.
|
MultiDocumentSingleFieldJavaScriptValidator |
withJavaScript()
This method looks for the name of a JavaScript action wich is bound to a field.
|
MultiDocumentSingleFieldValidator |
withoutTextOverflow()
This method validates that the content of the current field fits inside
the size of the field.
|
MultiDocumentFieldPropertyValidator |
withProperty() |
MultiDocumentSingleFieldValidator |
withText()
Validating that the content of the current field is not empty.
|
MultiDocumentSingleFieldValidator |
withWidth(int expectedWidth)
This method verifies that the current field has the width equals to the given parameter.
|
MultiDocumentSingleFieldValidator |
withWidth(int expectedWidth,
FormatUnit formatUnit,
int allowedDelta)
This method verifies that the current field of each PDF document has the
width equals to the given parameter.
|
protected MultiDocumentSingleFieldValidator(MultiDocumentValidator backReference)
@Guarded public MultiDocumentSingleFieldValidator containing(java.lang.String expectedValue)
In case of failure, an instance of PDFUnitValidationException will be thrown.
@Guarded public MultiDocumentSingleFieldValidator endingWith(java.lang.String expectedValue)
In case of failure, an instance of PDFUnitValidationException will be thrown.
@Guarded public MultiDocumentSingleFieldValidator hasField(java.lang.String expectedFieldName)
public MultiDocumentSingleFieldJavaScriptValidator withJavaScript()
@Guarded public MultiDocumentSingleFieldValidator equalsTo(java.lang.String expectedValue)
In case of failure, an instance of PDFUnitValidationException will be thrown.
@Guarded public MultiDocumentSingleFieldValidator matchingRegex(java.lang.String regex)
In case of failure, an instance of PDFUnitValidationException will be thrown.
@Guarded public MultiDocumentSingleFieldValidator notContaining(java.lang.String expectedValue)
In case of failure, an instance of PDFUnitValidationException will be thrown.
@Guarded public MultiDocumentSingleFieldValidator notMatchingRegex(java.lang.String regex)
In case of failure, an instance of PDFUnitValidationException will be thrown.
@Guarded public MultiDocumentSingleFieldValidator ofType(FieldType expectedType)
@Guarded public MultiDocumentSingleFieldValidator startingWith(java.lang.String expectedValue)
In case of failure, an instance of PDFUnitValidationException will be thrown.
@Guarded public MultiDocumentSingleFieldValidator withHeight(int expectedHeight)
The format unit is 'POINTS'.
In case of failure, an instance of PDFUnitValidationException will be thrown.
FormatUnit
@Guarded public MultiDocumentSingleFieldValidator withHeight(int expectedHeight, FormatUnit formatUnit, int allowedDelta)
In case of failure, an instance of PDFUnitValidationException or a subclass of it will be thrown.
FormatUnit
public MultiDocumentSingleFieldValidator withoutTextOverflow()
Only fields of type "button" and "text" are checked, no "choice" and no "sig". Also password fields are not checked.
public MultiDocumentFieldPropertyValidator withProperty()
public MultiDocumentSingleFieldValidator withText()
In case of failure, an instance of PDFUnitValidationException will be thrown.
@Guarded public MultiDocumentSingleFieldValidator withWidth(int expectedWidth)
The format unit is 'POINTS'.
In case of failure, an instance of PDFUnitValidationException will be thrown.
@Guarded public MultiDocumentSingleFieldValidator withWidth(int expectedWidth, FormatUnit formatUnit, int allowedDelta)
In case of failure, an instance of PDFUnitValidationException or a subclass of it will be thrown.
FormatUnit
Copyright (C) PDFUnit.com. See here for license.