Class DomainValidator.Item
- java.lang.Object
-
- com.networknt.org.apache.commons.validator.routines.DomainValidator.Item
-
- Enclosing class:
- DomainValidator
public static class DomainValidator.Item extends java.lang.Object
Used to specify overrides when creating a new class.- Since:
- 1.7
-
-
Field Summary
Fields Modifier and Type Field Description (package private) DomainValidator.ArrayType
type
(package private) java.lang.String[]
values
-
Constructor Summary
Constructors Constructor Description Item(DomainValidator.ArrayType type, java.lang.String... values)
Constructs a new instance.
-
-
-
Field Detail
-
type
final DomainValidator.ArrayType type
-
values
final java.lang.String[] values
-
-
Constructor Detail
-
Item
public Item(DomainValidator.ArrayType type, java.lang.String... values)
Constructs a new instance.- Parameters:
type
- ArrayType, e.g. GENERIC_PLUS, LOCAL_PLUSvalues
- array of TLDs. Will be lower-cased and sorted
-
-