public enum TextElementType extends Enum<TextElementType>
Enum Constant and Description |
---|
CHAPTER |
DOCUMENT |
PARAGRAPH |
PHRASE |
SECTION |
SENTENCE |
UNKNOWN |
WORD |
Modifier and Type | Method and Description |
---|---|
boolean |
isSequenceType()
Get whether this type is a complex or atomic type.
|
static TextElementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextElementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextElementType WORD
public static final TextElementType PHRASE
public static final TextElementType SENTENCE
public static final TextElementType PARAGRAPH
public static final TextElementType SECTION
public static final TextElementType CHAPTER
public static final TextElementType DOCUMENT
public static final TextElementType UNKNOWN
public static TextElementType[] values()
for (TextElementType c : TextElementType.values()) System.out.println(c);
public static TextElementType 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 isSequenceType()
Copyright © 2016 Actian Corporation. All rights reserved.