public static enum Record.Kind extends Enum<Record.Kind>
| Enum Constant and Description |
|---|
cdata |
comment |
document |
element |
root |
text |
| Modifier and Type | Method and Description |
|---|---|
static Record.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Record.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Record.Kind root
public static final Record.Kind document
public static final Record.Kind element
public static final Record.Kind text
public static final Record.Kind comment
public static final Record.Kind cdata
public static Record.Kind[] values()
for (Record.Kind c : Record.Kind.values()) System.out.println(c);
public static Record.Kind 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 nullCopyright © 2013 JBoss by Red Hat. All Rights Reserved.