public static enum LinkConverters.StringToLinkConverter extends java.lang.Enum<LinkConverters.StringToLinkConverter> implements org.springframework.core.convert.converter.Converter<java.lang.String,javax.ws.rs.core.Link>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Link |
convert(java.lang.String source) |
static LinkConverters.StringToLinkConverter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LinkConverters.StringToLinkConverter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinkConverters.StringToLinkConverter INSTANCE
public static LinkConverters.StringToLinkConverter[] values()
for (LinkConverters.StringToLinkConverter c : LinkConverters.StringToLinkConverter.values()) System.out.println(c);
public static LinkConverters.StringToLinkConverter valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic javax.ws.rs.core.Link convert(java.lang.String source)
convert
in interface org.springframework.core.convert.converter.Converter<java.lang.String,javax.ws.rs.core.Link>