org.apache.commons.validator.routines

## Class DomainValidator.Item

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

- Enclosing class:
    DomainValidator

      public static class DomainValidator.Item
      extends Object

  Used to specify overrides when creating a new class.
  Since:
    1.7

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Item(DomainValidator.ArrayType type, String[] values)`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### Item

          public Item(DomainValidator.ArrayType type,
                      String[] values)

      Parameters:
        `type` - ArrayType, e.g. GENERIC_PLUS, LOCAL_PLUS
        `values` - array of TLDs. Will be lower-cased and sorted

Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.