public enum JsonValueFormat extends Enum<JsonValueFormat>
| Enum Constant and Description | 
|---|
| COLORThis is a CSS color (like "#FF0000" or "red"), based on CSS
         2.1 [W3C.CR-CSS21-20070719]. | 
| DATEThis SHOULD be a date in the format of YYYY-MM-DD. | 
| DATE_TIMEThis SHOULD be a date in ISO 8601 format of YYYY-MM-
      DDThh:mm:ssZ in UTC time. | 
| EMAILThis SHOULD be an email address. | 
| HOST_NAMEThis SHOULD be a host-name. | 
| IP_ADDRESSThis SHOULD be an ip version 4 address. | 
| IPV6This SHOULD be an ip version 6 address. | 
| PHONEThis SHOULD be a phone number (format MAY follow E.123). | 
| REGEXA regular expression, following the regular expression
 specification from ECMA 262/Perl 5. | 
| STYLEThis is a CSS style definition (like "color: red; background-
 color:#FFF"), based on CSS 2.1 [W3C.CR-CSS21-20070719]. | 
| TIMEThis SHOULD be a time in the format of hh:mm:ss. | 
| URIThis value SHOULD be a URI. | 
| UTC_MILLISECThis SHOULD be the difference, measured in
      milliseconds, between the specified time and midnight, 00:00 of
      January 1, 1970 UTC. | 
| UUIDValue should be valid UUID | 
| Modifier and Type | Method and Description | 
|---|---|
| String | toString() | 
| static JsonValueFormat | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static JsonValueFormat[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final JsonValueFormat COLOR
public static final JsonValueFormat DATE
public static final JsonValueFormat DATE_TIME
public static final JsonValueFormat EMAIL
public static final JsonValueFormat HOST_NAME
public static final JsonValueFormat IP_ADDRESS
public static final JsonValueFormat IPV6
public static final JsonValueFormat PHONE
public static final JsonValueFormat REGEX
public static final JsonValueFormat STYLE
public static final JsonValueFormat TIME
public static final JsonValueFormat URI
public static final JsonValueFormat UTC_MILLISEC
public static final JsonValueFormat UUID
public static JsonValueFormat[] values()
for (JsonValueFormat c : JsonValueFormat.values()) System.out.println(c);
public static JsonValueFormat 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 toString()
toString in class Enum<JsonValueFormat>Copyright © 2008–2019 FasterXML. All rights reserved.