public enum PlaceholderAttributeNames extends Enum<PlaceholderAttributeNames> implements AttributeName
Attributes used by the DandelionDialect
when dealing with
placeholders.
Enum Constant and Description |
---|
PLACEHOLDER_INCLUDE
Configures a placeholder used by Dandelion to inject assets inside the
current element.
|
PLACEHOLDER_REPLACE
Configures a placeholder used by Dandelion to inject assets as a
replacement for the current element.
|
Modifier and Type | Method and Description |
---|---|
String |
getAttribute() |
static PlaceholderAttributeNames |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlaceholderAttributeNames[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlaceholderAttributeNames PLACEHOLDER_INCLUDE
public static final PlaceholderAttributeNames PLACEHOLDER_REPLACE
public static PlaceholderAttributeNames[] values()
for (PlaceholderAttributeNames c : PlaceholderAttributeNames.values()) System.out.println(c);
public static PlaceholderAttributeNames 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 String getAttribute()
getAttribute
in interface AttributeName
Copyright © 2013-2015 Dandelion Project. All Rights Reserved.