|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<JsonValueFormat>
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormat
public enum JsonValueFormat
This enum represents the encoded format for a jsonSchema value type
Enum Constant Summary | |
---|---|
COLOR
This is a CSS color (like "#FF0000" or "red"), based on CSS 2.1 [W3C.CR-CSS21-20070719]. |
|
DATE
This SHOULD be a date in the format of YYYY-MM-DD. |
|
DATE_TIME
This SHOULD be a date in ISO 8601 format of YYYY-MM- DDThh:mm:ssZ in UTC time. |
|
EMAIL
This SHOULD be an email address. |
|
HOST_NAME
This SHOULD be a host-name. |
|
IP_ADDRESS
This SHOULD be an ip version 4 address. |
|
IPV6
This SHOULD be an ip version 6 address. |
|
PHONE
This SHOULD be a phone number (format MAY follow E.123). |
|
REGEX
A regular expression, following the regular expression specification from ECMA 262/Perl 5. |
|
STYLE
This is a CSS style definition (like "color: red; background- color:#FFF"), based on CSS 2.1 [W3C.CR-CSS21-20070719]. |
|
TIME
This SHOULD be a time in the format of hh:mm:ss. |
|
URI
This value SHOULD be a URI.. |
|
UTC_MILLISEC
This SHOULD be the difference, measured in milliseconds, between the specified time and midnight, 00:00 of January 1, 1970 UTC. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JsonValueFormat DATE_TIME
public static final JsonValueFormat DATE
public static final JsonValueFormat TIME
public static final JsonValueFormat UTC_MILLISEC
public static final JsonValueFormat REGEX
public static final JsonValueFormat COLOR
public static final JsonValueFormat STYLE
public static final JsonValueFormat PHONE
public static final JsonValueFormat URI
public static final JsonValueFormat EMAIL
public static final JsonValueFormat IP_ADDRESS
public static final JsonValueFormat IPV6
public static final JsonValueFormat HOST_NAME
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |