public static enum Shortcode.Type extends java.lang.Enum<Shortcode.Type>
| Enum Constant and Description |
|---|
ENCLOSING
Enclosing (@code{[example]content[/example]}).
|
SELF_CLOSING
Self-closing (@code{[example]}).
|
UNKNOWN
Unknown or invalid type.
|
| Modifier and Type | Method and Description |
|---|---|
static Shortcode.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Shortcode.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Shortcode.Type SELF_CLOSING
public static final Shortcode.Type ENCLOSING
public static final Shortcode.Type UNKNOWN
public static Shortcode.Type[] values()
for (Shortcode.Type c : Shortcode.Type.values()) System.out.println(c);
public static Shortcode.Type 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