# Class DomainValidator.Item

java.lang.Object
org.apache.commons.validator.routines.DomainValidator.Item

Enclosing class:
  `DomainValidator`

public static class DomainValidator.Item extends Object
Specifies overrides when creating a new class.

Since:
  1.7

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Item(DomainValidator.ArrayType type, String... values)`
  Constructs a new instance.

- ## Method Summary

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Item

    public Item(DomainValidator.ArrayType type, String... values)
    Constructs a new instance.
    Parameters:
      `type` - ArrayType, for example, GENERIC_PLUS, LOCAL_PLUS
      `values` - array of TLDs. Will be lower-cased and sorted