|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<XSDDiagnosticSeverity> org.eclipse.xsd.XSDDiagnosticSeverity
public enum XSDDiagnosticSeverity
A representation of the literals of the enumeration 'Diagnostic Severity'.
XSDDiagnostic.getSeverity()
,
XSDPackage.getXSDDiagnosticSeverity()
Enum Constant Summary | |
---|---|
ERROR_LITERAL
The 'Error' literal object |
|
FATAL_LITERAL
The 'Fatal' literal object |
|
INFORMATION_LITERAL
The 'Information' literal object |
|
WARNING_LITERAL
The 'Warning' literal object |
Field Summary | |
---|---|
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 |
Method Summary | |
---|---|
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're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Field Detail |
---|
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
Method Detail |
---|
public static final 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 namepublic 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>
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |