protected static enum StandardLinkBuilder.LinkType extends Enum<StandardLinkBuilder.LinkType>
Enum Constant and Description |
---|
ABSOLUTE |
BASE_RELATIVE |
CONTEXT_RELATIVE |
SERVER_RELATIVE |
Modifier and Type | Method and Description |
---|---|
static StandardLinkBuilder.LinkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardLinkBuilder.LinkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardLinkBuilder.LinkType ABSOLUTE
public static final StandardLinkBuilder.LinkType CONTEXT_RELATIVE
public static final StandardLinkBuilder.LinkType SERVER_RELATIVE
public static final StandardLinkBuilder.LinkType BASE_RELATIVE
public static StandardLinkBuilder.LinkType[] values()
for (StandardLinkBuilder.LinkType c : StandardLinkBuilder.LinkType.values()) System.out.println(c);
public static StandardLinkBuilder.LinkType 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 nullCopyright © 2017 The THYMELEAF team. All rights reserved.