org.apache.velocity.tools.generic
private static enum MarkupTool.Mode extends java.lang.Enum<MarkupTool.Mode>
Modifier and Type | Method and Description |
---|---|
static MarkupTool.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MarkupTool.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MarkupTool.Mode NAME
public static final MarkupTool.Mode ID
public static final MarkupTool.Mode CLASS
public static final MarkupTool.Mode ATTR
public static MarkupTool.Mode[] values()
for (MarkupTool.Mode c : MarkupTool.Mode.values()) System.out.println(c);
public static MarkupTool.Mode 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 nullCopyright (c) 2003-2007 Apache Software Foundation