Enum SemanticType
- java.lang.Object
-
- java.lang.Enum<SemanticType>
-
- org.verapdf.wcag.algorithms.entities.enums.SemanticType
-
- All Implemented Interfaces:
Serializable,Comparable<SemanticType>
public enum SemanticType extends Enum<SemanticType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANNOTCAPTIONDIVDOCUMENTFORMHEADINGLINKLISTLIST_BODYLIST_ITEMLIST_LABELNUMBER_HEADINGPARAGRAPHSPANTABLETABLE_BODYTABLE_CELLTABLE_FOOTERTABLE_HEADERTABLE_HEADERSTABLE_ROW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static booleanisIgnoredStandardType(SemanticType type)static SemanticTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SemanticType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOCUMENT
public static final SemanticType DOCUMENT
-
DIV
public static final SemanticType DIV
-
PARAGRAPH
public static final SemanticType PARAGRAPH
-
SPAN
public static final SemanticType SPAN
-
TABLE
public static final SemanticType TABLE
-
TABLE_HEADERS
public static final SemanticType TABLE_HEADERS
-
TABLE_FOOTER
public static final SemanticType TABLE_FOOTER
-
TABLE_BODY
public static final SemanticType TABLE_BODY
-
TABLE_ROW
public static final SemanticType TABLE_ROW
-
TABLE_HEADER
public static final SemanticType TABLE_HEADER
-
TABLE_CELL
public static final SemanticType TABLE_CELL
-
FORM
public static final SemanticType FORM
-
LINK
public static final SemanticType LINK
-
ANNOT
public static final SemanticType ANNOT
-
CAPTION
public static final SemanticType CAPTION
-
LIST
public static final SemanticType LIST
-
LIST_LABEL
public static final SemanticType LIST_LABEL
-
LIST_BODY
public static final SemanticType LIST_BODY
-
LIST_ITEM
public static final SemanticType LIST_ITEM
-
NUMBER_HEADING
public static final SemanticType NUMBER_HEADING
-
HEADING
public static final SemanticType HEADING
-
-
Method Detail
-
values
public static SemanticType[] 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 (SemanticType c : SemanticType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SemanticType 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
-
getValue
public String getValue()
-
isIgnoredStandardType
public static boolean isIgnoredStandardType(SemanticType type)
-
-