Package io.lighty.codecs.xml
Enum DocumentedException.ErrorTag
- java.lang.Object
-
- java.lang.Enum<DocumentedException.ErrorTag>
-
- io.lighty.codecs.xml.DocumentedException.ErrorTag
-
- All Implemented Interfaces:
Serializable
,Comparable<DocumentedException.ErrorTag>
- Enclosing class:
- DocumentedException
public static enum DocumentedException.ErrorTag extends Enum<DocumentedException.ErrorTag>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentedException.ErrorTag
from(String text)
String
getTagValue()
static DocumentedException.ErrorTag
valueOf(String name)
Returns the enum constant of this type with the specified name.static DocumentedException.ErrorTag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCESS_DENIED
public static final DocumentedException.ErrorTag ACCESS_DENIED
-
BAD_ATTRIBUTE
public static final DocumentedException.ErrorTag BAD_ATTRIBUTE
-
BAD_ELEMENT
public static final DocumentedException.ErrorTag BAD_ELEMENT
-
DATA_EXISTS
public static final DocumentedException.ErrorTag DATA_EXISTS
-
DATA_MISSING
public static final DocumentedException.ErrorTag DATA_MISSING
-
IN_USE
public static final DocumentedException.ErrorTag IN_USE
-
INVALID_VALUE
public static final DocumentedException.ErrorTag INVALID_VALUE
-
LOCK_DENIED
public static final DocumentedException.ErrorTag LOCK_DENIED
-
MALFORMED_MESSAGE
public static final DocumentedException.ErrorTag MALFORMED_MESSAGE
-
MISSING_ATTRIBUTE
public static final DocumentedException.ErrorTag MISSING_ATTRIBUTE
-
MISSING_ELEMENT
public static final DocumentedException.ErrorTag MISSING_ELEMENT
-
OPERATION_FAILED
public static final DocumentedException.ErrorTag OPERATION_FAILED
-
OPERATION_NOT_SUPPORTED
public static final DocumentedException.ErrorTag OPERATION_NOT_SUPPORTED
-
RESOURCE_DENIED
public static final DocumentedException.ErrorTag RESOURCE_DENIED
-
ROLLBCK_FAILED
public static final DocumentedException.ErrorTag ROLLBCK_FAILED
-
TOO_BIG
public static final DocumentedException.ErrorTag TOO_BIG
-
UNKNOWN_ATTRIBUTE
public static final DocumentedException.ErrorTag UNKNOWN_ATTRIBUTE
-
UNKNOWN_ELEMENT
public static final DocumentedException.ErrorTag UNKNOWN_ELEMENT
-
UNKNOWN_NAMESPACE
public static final DocumentedException.ErrorTag UNKNOWN_NAMESPACE
-
-
Method Detail
-
values
public static DocumentedException.ErrorTag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DocumentedException.ErrorTag c : DocumentedException.ErrorTag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentedException.ErrorTag valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getTagValue
public String getTagValue()
-
from
public static DocumentedException.ErrorTag from(String text)
-
-