public enum XMLReferencesErrorCode extends Enum<XMLReferencesErrorCode> implements IXMLErrorCode
| Enum Constant and Description |
|---|
InvalidPrefix |
UndefinedReference |
| Modifier and Type | Method and Description |
|---|---|
static XMLReferencesErrorCode |
get(String name) |
String |
getCode()
Returns the XML error code.
|
static XMLReferencesErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XMLReferencesErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XMLReferencesErrorCode UndefinedReference
public static final XMLReferencesErrorCode InvalidPrefix
public static XMLReferencesErrorCode[] values()
for (XMLReferencesErrorCode c : XMLReferencesErrorCode.values()) System.out.println(c);
public static XMLReferencesErrorCode 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 getCode()
IXMLErrorCodegetCode in interface IXMLErrorCodepublic static XMLReferencesErrorCode get(String name)
Copyright © 2024. All rights reserved.