public enum Handled extends java.lang.Enum<Handled>
Enum Constant and Description |
---|
NESTED_TAGS
When plugin handles this and nested tags.
|
NOTHING
Indicate that handler is not applicable and Templater should call next plugin
|
OTHER_HANDLERS
Indicate that plugin is applicable, that next plugin should not be called,
but normal processing should continue as usual - calling replace on the tag
|
THIS_TAG
Indicate that plugin has processed this tag, but has not processed nested or other tags.
|
WHOLE_OBJECT
If other tags on the same level are also handled by the plugin,
instruct Templater to avoid further processing of tags on this level
|
Modifier and Type | Method and Description |
---|---|
static Handled |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Handled[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Handled NOTHING
public static final Handled OTHER_HANDLERS
public static final Handled THIS_TAG
public static final Handled NESTED_TAGS
public static final Handled WHOLE_OBJECT
public static Handled[] values()
for (Handled c : Handled.values()) System.out.println(c);
public static Handled valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null