Package io.quarkus.qute
Enum SectionHelperFactory.MissingEndTagStrategy
- java.lang.Object
-
- java.lang.Enum<SectionHelperFactory.MissingEndTagStrategy>
-
- io.quarkus.qute.SectionHelperFactory.MissingEndTagStrategy
-
- All Implemented Interfaces:
Serializable,Comparable<SectionHelperFactory.MissingEndTagStrategy>
- Enclosing interface:
- SectionHelperFactory<T extends SectionHelper>
public static enum SectionHelperFactory.MissingEndTagStrategy extends Enum<SectionHelperFactory.MissingEndTagStrategy>
This strategy is used when an unterminated section is detected during parsing.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIND_TO_PARENTThe end tag is optional.ERRORThe end tag is mandatory.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SectionHelperFactory.MissingEndTagStrategyvalueOf(String name)Returns the enum constant of this type with the specified name.static SectionHelperFactory.MissingEndTagStrategy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERROR
public static final SectionHelperFactory.MissingEndTagStrategy ERROR
The end tag is mandatory. A missing end tag results in a parser error.
-
BIND_TO_PARENT
public static final SectionHelperFactory.MissingEndTagStrategy BIND_TO_PARENT
The end tag is optional. The section ends where the parent section ends.
-
-
Method Detail
-
values
public static SectionHelperFactory.MissingEndTagStrategy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SectionHelperFactory.MissingEndTagStrategy c : SectionHelperFactory.MissingEndTagStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SectionHelperFactory.MissingEndTagStrategy valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-