public enum MustacheTagType extends Enum<MustacheTagType>
Enum Constant and Description |
---|
COMMENT |
DELIMITER |
EXTEND |
EXTEND_SECTION |
INVERTED_SECTION |
NESTED_TEMPLATE |
PARTIAL |
SECTION |
SECTION_END |
UNESCAPE_VARIABLE |
VARIABLE |
Modifier and Type | Method and Description |
---|---|
static boolean |
contentMustBeNonWhitespaceCharacterSequence(MustacheTagType type) |
static boolean |
contentMustBeValidated(MustacheTagType type) |
Character |
getCommand() |
static boolean |
supportsHelpers(MustacheTagType type) |
static MustacheTagType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MustacheTagType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MustacheTagType VARIABLE
public static final MustacheTagType UNESCAPE_VARIABLE
public static final MustacheTagType SECTION
public static final MustacheTagType INVERTED_SECTION
public static final MustacheTagType SECTION_END
public static final MustacheTagType COMMENT
public static final MustacheTagType PARTIAL
public static final MustacheTagType DELIMITER
public static final MustacheTagType EXTEND
public static final MustacheTagType EXTEND_SECTION
public static final MustacheTagType NESTED_TEMPLATE
public static MustacheTagType[] values()
for (MustacheTagType c : MustacheTagType.values()) System.out.println(c);
public static MustacheTagType 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 nullpublic Character getCommand()
public static boolean contentMustBeNonWhitespaceCharacterSequence(MustacheTagType type)
public static boolean contentMustBeValidated(MustacheTagType type)
type
- true
if the tag content must be validated,
false
otherwisepublic static boolean supportsHelpers(MustacheTagType type)
type
- true
if the tag can have a helper associated,
false
otherwiseCopyright © 2017. All rights reserved.