@DoNotObfuscate
public class MultiDocumentSingleFieldValidator
extends java.lang.Object
SingleFieldValidator
![]() |
![]() |
![]() |
![]() |
Modifier | Constructor and Description |
---|---|
protected |
MultiDocumentSingleFieldValidator(java.util.Vector<DocumentValidator> documentValidators) |
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 |
hasField(java.lang.String expectedFieldName)
This method verifies that each of the given PDF document has a field with the expected name.
|
MultiDocumentSingleFieldValidator |
havingJavaScriptAction(java.lang.String expectedActionName)
This method looks for the name of a JavaScript action wich is bound to a field.
|
MultiDocumentSingleFieldValidator |
matchingComplete(java.lang.String expectedValue)
Validating that the content of the current field is equal to the given parameter.
|
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 |
startingWith(java.lang.String expectedValue)
Validating that the content of the current field starts with the value given by the parameter.
|
MultiDocumentSingleFieldValidator |
whichHasMultipleLines()
This method does what the name suggests.
|
MultiDocumentSingleFieldValidator |
whichHasSingleLine()
This method does what the name suggests.
|
MultiDocumentSingleFieldValidator |
whichIsEditable()
This method does what the name suggests.
|
MultiDocumentSingleFieldValidator |
whichIsExportable()
This method does what the name suggests.
|
MultiDocumentSingleFieldValidator |
whichIsHidden()
This method does what the name suggests.
|
MultiDocumentSingleFieldValidator |
whichIsMultiSelectable()
This method does what the name suggests.
|
MultiDocumentSingleFieldValidator |
whichIsNotEditable()
This method does what the name suggests.
|
MultiDocumentSingleFieldValidator |
whichIsNotExportable()
This method does what the name suggests.
|
MultiDocumentSingleFieldValidator |
whichIsNotHidden()
This method does what the name suggests.
|
MultiDocumentSingleFieldValidator |
whichIsNotMultiSelectable()
This method does what the name suggests.
|
MultiDocumentSingleFieldValidator |
whichIsNotPrintable()
This method does what the name suggests.
|
MultiDocumentSingleFieldValidator |
whichIsNotReadOnly()
This method does what the name suggests.
|
MultiDocumentSingleFieldValidator |
whichIsNotRequired()
This method does what the name suggests.
|
MultiDocumentSingleFieldValidator |
whichIsNotVisible()
This method does what the name suggests.
|
MultiDocumentSingleFieldValidator |
whichIsPasswordProtected()
This method does what the name suggests.
|
MultiDocumentSingleFieldValidator |
whichIsPrintable()
This method does what the name suggests.
|
MultiDocumentSingleFieldValidator |
whichIsReadOnly()
This method does what the name suggests.
|
MultiDocumentSingleFieldValidator |
whichIsRequired()
This method does what the name suggests.
|
MultiDocumentSingleFieldValidator |
whichIsSigned()
This method does what the name suggests.
|
MultiDocumentSingleFieldValidator |
whichIsVisible()
This method does what the name suggests.
|
MultiDocumentSingleFieldValidator |
withAnyValue()
Validating that the content of the current field is not empty.
|
MultiDocumentSingleFieldValidator |
withHeight(double expectedHeight,
FormatUnit formatUnit)
This method verifies that the current field of each PDF document has the height
equals to the given parameter.
|
MultiDocumentSingleFieldValidator |
withHeight(int expectedHeight)
This method verifies that the current field has the height equals to the given parameter.
|
MultiDocumentSingleFieldValidator |
withoutTextOverflow()
This method validates that the content of the current field fits inside
the size of the field.
|
MultiDocumentSingleFieldValidator |
withType(FieldType expectedType)
This method verifies that each of the given PDF document has a field with the expected type.
|
MultiDocumentSingleFieldValidator |
withWidth(double expectedWidth,
FormatUnit formatUnit)
This method verifies that the current field of each PDF document has the width
equals to the given parameter.
|
MultiDocumentSingleFieldValidator |
withWidth(int expectedWidth)
This method verifies that the current field has the width equals to the given parameter.
|
protected MultiDocumentSingleFieldValidator(java.util.Vector<DocumentValidator> documentValidators)
@Guarded public MultiDocumentSingleFieldValidator hasField(java.lang.String expectedFieldName)
@Guarded public MultiDocumentSingleFieldValidator withType(FieldType expectedType)
@Guarded public MultiDocumentSingleFieldValidator withWidth(double expectedWidth, FormatUnit formatUnit)
FormatUnit
@Guarded public MultiDocumentSingleFieldValidator withHeight(double expectedHeight, FormatUnit formatUnit)
FormatUnit
@Guarded public MultiDocumentSingleFieldValidator matchingComplete(java.lang.String expectedValue)
@Guarded public MultiDocumentSingleFieldValidator containing(java.lang.String expectedValue)
@Guarded public MultiDocumentSingleFieldValidator notContaining(java.lang.String expectedValue)
@Guarded public MultiDocumentSingleFieldValidator startingWith(java.lang.String expectedValue)
@Guarded public MultiDocumentSingleFieldValidator endingWith(java.lang.String expectedValue)
public MultiDocumentSingleFieldValidator withAnyValue()
@Guarded public MultiDocumentSingleFieldValidator matchingRegex(java.lang.String regex)
@Guarded public MultiDocumentSingleFieldValidator notMatchingRegex(java.lang.String regex)
@Guarded public MultiDocumentSingleFieldValidator havingJavaScriptAction(java.lang.String expectedActionName)
@Guarded public MultiDocumentSingleFieldValidator withWidth(int expectedWidth)
@Guarded public MultiDocumentSingleFieldValidator withHeight(int expectedHeight)
FormatUnit
public MultiDocumentSingleFieldValidator whichIsPasswordProtected()
public MultiDocumentSingleFieldValidator whichIsReadOnly()
public MultiDocumentSingleFieldValidator whichIsRequired()
public MultiDocumentSingleFieldValidator whichIsEditable()
public MultiDocumentSingleFieldValidator whichHasMultipleLines()
public MultiDocumentSingleFieldValidator whichHasSingleLine()
public MultiDocumentSingleFieldValidator whichIsExportable()
public MultiDocumentSingleFieldValidator whichIsMultiSelectable()
public MultiDocumentSingleFieldValidator whichIsNotMultiSelectable()
public MultiDocumentSingleFieldValidator whichIsNotExportable()
public MultiDocumentSingleFieldValidator whichIsPrintable()
public MultiDocumentSingleFieldValidator whichIsNotPrintable()
public MultiDocumentSingleFieldValidator whichIsHidden()
public MultiDocumentSingleFieldValidator whichIsNotHidden()
public MultiDocumentSingleFieldValidator whichIsNotEditable()
public MultiDocumentSingleFieldValidator whichIsSigned()
public MultiDocumentSingleFieldValidator whichIsNotReadOnly()
public MultiDocumentSingleFieldValidator whichIsNotRequired()
public MultiDocumentSingleFieldValidator whichIsVisible()
public MultiDocumentSingleFieldValidator whichIsNotVisible()
public MultiDocumentSingleFieldValidator withoutTextOverflow()
Only fields of type "button" and "text" are checked, no "choice" and no "sig". Also password fields are not checked.
Copyright (C) PDFUnit.com. See here for license.