## Uses of Class
com.pdfunit.validators.SingleFieldValidator

- Packages that use SingleFieldValidator
  Package | Description
  --- | ---
  com.pdfunit.validators | Classes implementing validations on specific topics of PDF.

- - ### Uses of SingleFieldValidator in com.pdfunit.validators

    Methods in com.pdfunit.validators that return SingleFieldValidator
    Modifier and Type | Method and Description
    --- | ---
    `SingleFieldValidator` | SingleFieldValidator.`containing(java.lang.String expectedContent)` Validating that the content of the current field contains the value given by the parameter.
    `SingleFieldValidator` | SingleFieldValidator.`endingWith(java.lang.String expectedEnd)` Validating that the content of the current field ends with the value given by the parameter.
    `SingleFieldValidator` | SingleFieldValidator.`equalsTo(java.lang.String expectedValue)` Validating that the content of the current field is equal to the given parameter.
    `SingleFieldValidator` | DocumentValidator.`hasField(java.lang.String fieldname)` This method does what the name suggests.
    `SingleFieldValidator` | PageValidator.`hasField(java.lang.String fieldName)` This method does what the name suggests.
    `SingleFieldValidator` | SingleFieldJavaScriptValidator.`hasField(java.lang.String expectedFieldName)` Verify that a field with the given name exists.
    `SingleFieldValidator` | SingleFieldValidator.`hasField(java.lang.String expectedFieldName)` Verify that a field with the given name exists.
    `SingleFieldValidator` | SingleFieldValidator.`matchingRegex(java.lang.String regex)` Validating that the content of the current field matches the regular expression.
    `SingleFieldValidator` | SingleFieldValidator.`notContaining(java.lang.String notExpectedContent)` Validating that the content of the current field does NOT contain the value given by the parameter.
    `SingleFieldValidator` | SingleFieldValidator.`notMatchingRegex(java.lang.String regex)` Validating that the content of the current field does not match the regular expression.
    `SingleFieldValidator` | SingleFieldValidator.`ofType(FieldType expectedType)` This method checks the type of the current field.
    `SingleFieldValidator` | SingleFieldValidator.`startingWith(java.lang.String expectedStart)` Validating that the content of the current field starts with the value given by the parameter.
    `SingleFieldValidator` | SingleFieldValidator.`withHeight(int expectedHeight)` This method verifies that the current field has the width equals to the given parameter.
    `SingleFieldValidator` | SingleFieldValidator.`withHeight(int expectedHeight, FormatUnit formatUnit, int allowedDelta)` This method verifies that the current field has the width equals to the given parameter.
    `SingleFieldValidator` | SingleFieldValidator.`withoutTextOverflow()` This method validates that the content of the current field fits inside the size of the field.
    `SingleFieldValidator` | SingleFieldValidator.`withText()` This method checks whether a field has any text.
    `SingleFieldValidator` | SingleFieldValidator.`withWidth(int expectedWidth)` This method verifies that the current field has the width equals to the given parameter.
    `SingleFieldValidator` | SingleFieldValidator.`withWidth(int expectedWidth, FormatUnit formatUnit, int allowedDelta)` This method verifies that the current field has the width equals to the given parameter.

    Constructors in com.pdfunit.validators with parameters of type SingleFieldValidator
    Constructor and Description
    `FieldPropertyValidator(SingleFieldValidator backReference, com.pdfunit.internal.spi.IField currentField)` Create an instance taking later needed data as parameters.
    `SingleFieldJavaScriptValidator(SingleFieldValidator backReference, com.pdfunit.internal.spi.IField currentField)` Creating a validator for a JavaScript that is associated to a field of an PDF formular.

    Constructor parameters in com.pdfunit.validators with type arguments of type SingleFieldValidator
    Constructor and Description
    `MultiDocumentSingleFieldJavaScriptValidator(MultiDocumentSingleFieldValidator backReference, java.util.Vector<SingleFieldValidator> fieldValidators)`

Copyright (C) PDFUnit.com. See here for license.