@Internal public enum SegmentType extends Enum<SegmentType>
Enum Constant and Description |
---|
COMMENT |
DELIMITERS |
EXTEND |
EXTEND_SECTION |
INVERTED_SECTION |
LINE_SEPARATOR |
PARTIAL |
ROOT |
SECTION |
TEXT |
VALUE |
Modifier and Type | Method and Description |
---|---|
static SegmentType |
fromTag(MustacheTagType tagType) |
static SegmentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SegmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SegmentType ROOT
public static final SegmentType VALUE
public static final SegmentType TEXT
public static final SegmentType SECTION
public static final SegmentType INVERTED_SECTION
public static final SegmentType COMMENT
public static final SegmentType LINE_SEPARATOR
public static final SegmentType DELIMITERS
public static final SegmentType PARTIAL
public static final SegmentType EXTEND
public static final SegmentType EXTEND_SECTION
public static SegmentType[] values()
for (SegmentType c : SegmentType.values()) System.out.println(c);
public static SegmentType 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 static SegmentType fromTag(MustacheTagType tagType)
Copyright © 2017. All rights reserved.