public enum TextCheckResult extends Enum<TextCheckResult>
Enum Constant and Description |
---|
ASCII_ART
Contains a lot of space characters and graphical symbols.
|
BLANK
Flag means ALT is not null, but contains only blank characters.
|
BLANK_NBSP
Flag means ALT is not null, contains only blank characters and contains
one or more characters.
|
IMG_EXT
Flag means ALT string ends with the extension that is used for images.
|
INCLUDING_MANY_NG_WORD
Flag means ALT string contains many NG words within it (ratio is greater
than 0.6).
|
INCLUDING_NG_WORD
Flag means ALT string contains several NG words within it (ratio is
between 0.3 and 0.6).
|
NG_WORD
Flag means entire ALT string matches one of the NG words.
|
NULL
Flag means ALT is null string ("").
|
OK
Flag that means ALT may be OK.
|
SAME_AS_SRC
Flag means ALT string is equal to src attribute value.
|
SPACE_SEPARATED
Flag means ALT string is separated by in-word space characters, e.g.
|
SPACE_SEPARATED_JP
Flag means ALT string is Japanese and separated by in-word space
characters, e.g.
|
Modifier and Type | Method and Description |
---|---|
static TextCheckResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextCheckResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextCheckResult OK
public static final TextCheckResult NULL
public static final TextCheckResult BLANK
public static final TextCheckResult BLANK_NBSP
public static final TextCheckResult NG_WORD
public static final TextCheckResult IMG_EXT
public static final TextCheckResult SAME_AS_SRC
public static final TextCheckResult SPACE_SEPARATED
public static final TextCheckResult SPACE_SEPARATED_JP
public static final TextCheckResult ASCII_ART
public static final TextCheckResult INCLUDING_MANY_NG_WORD
public static final TextCheckResult INCLUDING_NG_WORD
public static TextCheckResult[] values()
for (TextCheckResult c : TextCheckResult.values()) System.out.println(c);
public static TextCheckResult 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 null