public static enum SchemaLibrary.ProblemType extends Enum<SchemaLibrary.ProblemType>
Enum Constant and Description |
---|
ERROR
The problem type signaling a validation error.
|
WARNING
The problem type signaling a validation warning.
|
Modifier and Type | Method and Description |
---|---|
static SchemaLibrary.ProblemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaLibrary.ProblemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaLibrary.ProblemType ERROR
public static final SchemaLibrary.ProblemType WARNING
public static SchemaLibrary.ProblemType[] values()
for (SchemaLibrary.ProblemType c : SchemaLibrary.ProblemType.values()) System.out.println(c);
public static SchemaLibrary.ProblemType 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 © 2008–2016 JBoss, a division of Red Hat. All rights reserved.