Enum Class JsonValueFormat
java.lang.Object
java.lang.Enum<JsonValueFormat>
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormat
- All Implemented Interfaces:
Serializable
,Comparable<JsonValueFormat>
,java.lang.constant.Constable
This enum represents the encoded format for a jsonSchema value type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThis is a CSS color (like "#FF0000" or "red"), based on CSS 2.1 [W3C.CR-CSS21-20070719].This SHOULD be a date in the format of YYYY-MM-DD.This SHOULD be a date in ISO 8601 format of YYYY-MM- DDThh:mm:ssZ in UTC time.This SHOULD be an email address.This SHOULD be a host-name.This SHOULD be an ip version 4 address.This SHOULD be an ip version 6 address.This SHOULD be a phone number (format MAY follow E.123).A regular expression, following the regular expression specification from ECMA 262/Perl 5.This is a CSS style definition (like "color: red; background- color:#FFF"), based on CSS 2.1 [W3C.CR-CSS21-20070719].This SHOULD be a time in the format of hh:mm:ss.This value SHOULD be a URI.This SHOULD be the difference, measured in milliseconds, between the specified time and midnight, 00:00 of January 1, 1970 UTC.Value should be valid UUID -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static JsonValueFormat
Returns the enum constant of this class with the specified name.static JsonValueFormat[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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. It is recommended that you use the "date-time" format instead of "date" unless you need to transfer only the date part. -
DATE_TIME
This SHOULD be a date in ISO 8601 format of YYYY-MM- DDThh:mm:ssZ in UTC time. This is the recommended form of date/ timestamp. -
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. It is recommended that you use the "date-time" format instead of "time" unless you need to transfer only the time part. -
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. The value SHOULD be a number (integer or float). -
UUID
Value should be valid UUID- Since:
- 2.10
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<JsonValueFormat>
-