Enum EPlaceholderSyntaxKind
- java.lang.Object
-
- java.lang.Enum<EPlaceholderSyntaxKind>
-
- de.xima.fc.interfaces.placeholder.EPlaceholderSyntaxKind
-
- All Implemented Interfaces:
Serializable
,Comparable<EPlaceholderSyntaxKind>
public enum EPlaceholderSyntaxKind extends Enum<EPlaceholderSyntaxKind>
Enumeration of the different placeholder types that can be distinguished solely by their string representation, without semantic information from placeholder replacement handlers. For example, context and session placeholders have the same syntax[%$...%]
, as do form and context placeholders.- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOUBLE_DOLLAR
Placeholders of type[%$$...%]
NO_PREFIX
Placeholders of type[%...%]
SINGLE_DOLLAR
Placeholders of type[%$...%]
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EPlaceholderSyntaxKind
valueOf(String name)
Returns the enum constant of this type with the specified name.static EPlaceholderSyntaxKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_PREFIX
public static final EPlaceholderSyntaxKind NO_PREFIX
Placeholders of type[%...%]
-
SINGLE_DOLLAR
public static final EPlaceholderSyntaxKind SINGLE_DOLLAR
Placeholders of type[%$...%]
-
DOUBLE_DOLLAR
public static final EPlaceholderSyntaxKind DOUBLE_DOLLAR
Placeholders of type[%$$...%]
-
-
Method Detail
-
values
public static EPlaceholderSyntaxKind[] 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 (EPlaceholderSyntaxKind c : EPlaceholderSyntaxKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EPlaceholderSyntaxKind 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
-
-