public static enum ErrorReport.TagError extends java.lang.Enum<ErrorReport.TagError>
Enum Constant and Description |
---|
DUPLICATE
Indicates that a tag that is present in the source appears twice or
more in the translation.
|
EXTRANEOUS
Indicates an extraneous tag in the translation that is not present in
the source text.
|
MALFORMED
Indicates a nesting problem, such as overlapping or swapped
open/close tags.
|
MISSING
Indicates a tag in the source text that is not present in the
translation.
|
ORDER
Indicates that the tag appears in a different order in the
translation than in the source.
|
ORPHANED
Indicates the partner of a MISSING tag.
|
UNSPECIFIED
Indicates that something is wrong, but we don't know what (validation
logic too simple to give proper advice).
|
WHITESPACE
Indicates that either leading or trailing whitespace in the
translation does not match the source.
|
Modifier and Type | Method and Description |
---|---|
static ErrorReport.TagError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorReport.TagError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorReport.TagError MISSING
public static final ErrorReport.TagError EXTRANEOUS
public static final ErrorReport.TagError ORDER
public static final ErrorReport.TagError MALFORMED
public static final ErrorReport.TagError WHITESPACE
public static final ErrorReport.TagError DUPLICATE
public static final ErrorReport.TagError ORPHANED
public static final ErrorReport.TagError UNSPECIFIED
public static ErrorReport.TagError[] values()
for (ErrorReport.TagError c : ErrorReport.TagError.values()) System.out.println(c);
public static ErrorReport.TagError 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 namejava.lang.NullPointerException
- if the argument is null