Class InSetValidator

All Implemented Interfaces:
HasHandlers

public class InSetValidator extends Validator
Tests whether the value for this field matches any value from an arbitrary list of acceptable values. The set of acceptable values is specified via the list property on the validator, which should be set to an array of values. If validator.list is not supplied, the valueMap for the field will be used. If there is no valueMap, not providing validator.list is an error.
  • Constructor Details

    • InSetValidator

      public InSetValidator()
  • Method Details

    • setList

      public void setList(String[] list)
      Set the list.
      Parameters:
      list - the list