public static enum IndexEntry.Type extends Enum<IndexEntry.Type>
Enum Constant and Description |
---|
DEFINED_TERM |
FIGURE |
SECTION_1 |
SECTION_2 |
SECTION_3 |
SECTION_4 |
SECTION_5 |
SECTION_6 |
TABLE |
UNKNOWN
Used for unknown types but also for the root entry
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSection() |
static IndexEntry.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexEntry.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexEntry.Type UNKNOWN
public static final IndexEntry.Type SECTION_1
public static final IndexEntry.Type SECTION_2
public static final IndexEntry.Type SECTION_3
public static final IndexEntry.Type SECTION_4
public static final IndexEntry.Type SECTION_5
public static final IndexEntry.Type SECTION_6
public static final IndexEntry.Type DEFINED_TERM
public static final IndexEntry.Type FIGURE
public static final IndexEntry.Type TABLE
public static IndexEntry.Type[] values()
for (IndexEntry.Type c : IndexEntry.Type.values()) System.out.println(c);
public static IndexEntry.Type 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 isSection()
Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.