public enum SchemaKind extends Enum<SchemaKind>
Enum Constant and Description |
---|
DTD
A DTD.
|
NONE
Not an actual schema.
|
RNG
A RELAX NG schema.
|
WXS
A W3C XML Schema.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static SchemaKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaKind NONE
public static final SchemaKind DTD
public static final SchemaKind WXS
public static final SchemaKind RNG
public static SchemaKind[] values()
for (SchemaKind c : SchemaKind.values()) System.out.println(c);
public static SchemaKind 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 toString()
toString
in class Enum<SchemaKind>