Class HtmlInputType
java.lang.Object
org.springframework.hateoas.mediatype.html.HtmlInputType
The types of HTML
<input … />
elements.
Note, that there are currently only constants defined for the input types we currently support in any of the media types supported by Spring HATEOAS out of the box. If your media type needs an additional one, please file a ticket.
- Since:
- 1.3
- Author:
- Oliver Drotbohm
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HtmlInputType
static final String
static final HtmlInputType
static final String
static final HtmlInputType
static final String
static final HtmlInputType
static final String
static final HtmlInputType
static final String
static final HtmlInputType
static final String
static final HtmlInputType
static final String
static final HtmlInputType
static final String
static final HtmlInputType
static final String
static final HtmlInputType
static final String
static final HtmlInputType
static final String
static final HtmlInputType
static final String
static final HtmlInputType
static final String
static final HtmlInputType
static final String
static final HtmlInputType
static final String
static final HtmlInputType
static final String
static final HtmlInputType
static final String
static final HtmlInputType
static final String
static final HtmlInputType
static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic HtmlInputType
Returns theHtmlInputType
derived from the givenResolvableType
.static HtmlInputType
Returns theHtmlInputType
for the given string value.toString()
value()
-
Field Details
-
CHECKBOX_VALUE
- See Also:
-
CHECKBOX
-
COLOR_VALUE
- See Also:
-
COLOR
-
DATE_VALUE
- See Also:
-
DATE
-
DATETIME_LOCAL_VALUE
- See Also:
-
DATETIME_LOCAL
-
EMAIL_VALUE
- See Also:
-
EMAIL
-
FILE_VALUE
- See Also:
-
FILE
-
HIDDEN_VALUE
- See Also:
-
HIDDEN
-
MONTH_VALUE
- See Also:
-
MONTH
-
NUMBER_VALUE
- See Also:
-
NUMBER
-
PASSWORD_VALUE
- See Also:
-
PASSWORD
-
RADIO_VALUE
- See Also:
-
RADIO
-
RANGE_VALUE
- See Also:
-
RANGE
-
SEARCH_VALUE
- See Also:
-
SEARCH
-
TEL_VALUE
- See Also:
-
TEL
-
TEXT_VALUE
- See Also:
-
TEXT
-
TEXTAREA_VALUE
- See Also:
-
TEXTAREA
-
TIME_VALUE
- See Also:
-
TIME
-
URL_VALUE
- See Also:
-
URL
-
WEEK_VALUE
- See Also:
-
WEEK
-
-
Method Details
-
of
Returns theHtmlInputType
for the given string value.- Parameters:
value
- must not be null or empty.- Returns:
- the
HtmlInputType
or null if no match was found.
-
from
Returns theHtmlInputType
derived from the givenResolvableType
.- Parameters:
type
- must not be null.- Returns:
-
value
-
toString
-