public static enum Element.RepresentationInTemplate extends Enum<Element.RepresentationInTemplate>
Specifies whether this element was a standalone element at the original template file, or maybe an open element with a closing tag, or just an open element (non-XML-well-formed).
Enum Constant and Description |
---|
ONLY_OPEN |
OPEN_AND_CLOSE_EMPTY |
OPEN_AND_CLOSE_NONEMPTY |
STANDALONE |
Modifier and Type | Method and Description |
---|---|
static Element.RepresentationInTemplate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Element.RepresentationInTemplate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Element.RepresentationInTemplate STANDALONE
public static final Element.RepresentationInTemplate OPEN_AND_CLOSE_NONEMPTY
public static final Element.RepresentationInTemplate OPEN_AND_CLOSE_EMPTY
public static final Element.RepresentationInTemplate ONLY_OPEN
public static Element.RepresentationInTemplate[] values()
for (Element.RepresentationInTemplate c : Element.RepresentationInTemplate.values()) System.out.println(c);
public static Element.RepresentationInTemplate 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 © 2016 The THYMELEAF team. All rights reserved.