public enum StringFormat extends Enum<StringFormat>
Enum Constant and Description |
---|
BYTE |
DATE |
DATETIME |
EMAIL |
HOSTNAME |
IPV4 |
IPV6 |
JSON_POINTER |
REGEX |
RELATIVE_JSON_POINTER |
TIME |
URI |
URI_REFERENCE |
URI_TEMPLATE |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static StringFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StringFormat BYTE
public static final StringFormat DATE
public static final StringFormat DATETIME
public static final StringFormat IPV4
public static final StringFormat IPV6
public static final StringFormat HOSTNAME
public static final StringFormat EMAIL
public static final StringFormat URI
public static final StringFormat URI_REFERENCE
public static final StringFormat REGEX
public static final StringFormat JSON_POINTER
public static final StringFormat RELATIVE_JSON_POINTER
public static final StringFormat URI_TEMPLATE
public static final StringFormat TIME
public static StringFormat[] values()
for (StringFormat c : StringFormat.values()) System.out.println(c);
public static StringFormat valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
Copyright © 2023 Eclipse. All rights reserved.