public enum XSDDiagnosticSeverity extends java.lang.Enum<XSDDiagnosticSeverity> implements Enumerator
Enum Constant and Description |
---|
ERROR_LITERAL
The 'Error' literal object.
|
FATAL_LITERAL
The 'Fatal' literal object.
|
INFORMATION_LITERAL
The 'Information' literal object.
|
WARNING_LITERAL
The 'Warning' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
ERROR
The 'Error' literal value.
|
static int |
FATAL
The 'Fatal' literal value.
|
static int |
INFORMATION
The 'Information' literal value.
|
static java.util.List<XSDDiagnosticSeverity> |
VALUES
A public read-only list of all the 'Diagnostic Severity' enumerators.
|
static int |
WARNING
The 'Warning' literal value.
|
Modifier and Type | Method and Description |
---|---|
static XSDDiagnosticSeverity |
get(int value)
Returns the 'Diagnostic Severity' literal with the specified integer value.
|
static XSDDiagnosticSeverity |
get(java.lang.String literal)
Returns the 'Diagnostic Severity' literal with the specified literal value.
|
static XSDDiagnosticSeverity |
getByName(java.lang.String name)
Returns the 'Diagnostic Severity' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static XSDDiagnosticSeverity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XSDDiagnosticSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XSDDiagnosticSeverity FATAL_LITERAL
FATAL
public static final XSDDiagnosticSeverity ERROR_LITERAL
ERROR
public static final XSDDiagnosticSeverity WARNING_LITERAL
WARNING
public static final XSDDiagnosticSeverity INFORMATION_LITERAL
INFORMATION
public static final int FATAL
This is used to indicate that the problem is really bad and that further processing is likely not possible.
FATAL_LITERAL
,
Constant Field Valuespublic static final int ERROR
This is used to indicate that the problem is bad and that the schema is likely not suitable for use.
ERROR_LITERAL
,
Constant Field Valuespublic static final int WARNING
This is used to indicate that the problem is not too bad and that the schema is likely suitable for use.
WARNING_LITERAL
,
Constant Field Valuespublic static final int INFORMATION
This is used to indicate that the problem is only potential and that the schema is very likely suitable for use.
INFORMATION_LITERAL
,
Constant Field Valuespublic static final java.util.List<XSDDiagnosticSeverity> VALUES
public static XSDDiagnosticSeverity[] values()
for (XSDDiagnosticSeverity c : XSDDiagnosticSeverity.values()) System.out.println(c);
public static XSDDiagnosticSeverity 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 nullpublic static XSDDiagnosticSeverity get(java.lang.String literal)
public static XSDDiagnosticSeverity getByName(java.lang.String name)
public static XSDDiagnosticSeverity get(int value)
public int getValue()
getValue
in interface Enumerator
public java.lang.String getName()
getName
in interface Enumerator
public java.lang.String getLiteral()
getLiteral
in interface Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<XSDDiagnosticSeverity>