public static enum StringToXmlDocumentParser.ErrorLevel extends Enum<StringToXmlDocumentParser.ErrorLevel>
Enum Constant and Description |
---|
ERROR |
FATAL_ERROR |
WARNING |
Modifier and Type | Method and Description |
---|---|
static String |
prettyPrint(StringToXmlDocumentParser.ErrorLevel errorLevel) |
static StringToXmlDocumentParser.ErrorLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringToXmlDocumentParser.ErrorLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StringToXmlDocumentParser.ErrorLevel WARNING
public static final StringToXmlDocumentParser.ErrorLevel ERROR
public static final StringToXmlDocumentParser.ErrorLevel FATAL_ERROR
public static StringToXmlDocumentParser.ErrorLevel[] values()
for (StringToXmlDocumentParser.ErrorLevel c : StringToXmlDocumentParser.ErrorLevel.values()) System.out.println(c);
public static StringToXmlDocumentParser.ErrorLevel 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 static String prettyPrint(StringToXmlDocumentParser.ErrorLevel errorLevel)
Copyright © 2020. All rights reserved.