public static enum UcdStatus.Code extends Enum<UcdStatus.Code>
Enum Constant and Description |
---|
BAD_SEQUENCE
UCD words violate UCD1+ sequence rules.
|
BAD_SYNTAX
Not a UCD1 and cannot be parsed according to UCD1+.
|
DEPRECATED
Contains deprecated UCD1+ words.
|
NAMESPACE
Contains apparently namespaced UCD words.
|
OK
Conforms to UCD1+ standard.
|
UCD1
Conforms to UCD1 standard.
|
UNKNOWN_WORD
UCD1+ syntax but contains non-UCD1+ word.
|
VOX
Is in VOX: namespace introduced by SIAv1.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isError()
Indicates whether this status represents a UCD value which
violates known standards.
|
boolean |
isWarning()
Indicates whether this status represents a UCD value which
may deserve attention, but is not actually a standards violation.
|
static UcdStatus.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UcdStatus.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UcdStatus.Code OK
public static final UcdStatus.Code UCD1
public static final UcdStatus.Code VOX
public static final UcdStatus.Code BAD_SYNTAX
public static final UcdStatus.Code BAD_SEQUENCE
public static final UcdStatus.Code UNKNOWN_WORD
public static final UcdStatus.Code NAMESPACE
public static final UcdStatus.Code DEPRECATED
public static UcdStatus.Code[] values()
for (UcdStatus.Code c : UcdStatus.Code.values()) System.out.println(c);
public static UcdStatus.Code 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 boolean isError()
public boolean isWarning()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.