public enum XmlDocumentCategory extends Enum<XmlDocumentCategory>
Java class for documentCategory.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="documentCategory">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="DOCUMENT"/>
<enumeration value="SECTION"/>
<enumeration value="PARAGRAPH"/>
<enumeration value="SENTENCE"/>
<enumeration value="LIST"/>
<enumeration value="LIST_ITEM"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DOCUMENT |
LIST |
LIST_ITEM |
PARAGRAPH |
SECTION |
SENTENCE |
| Modifier and Type | Method and Description |
|---|---|
static XmlDocumentCategory |
fromValue(String v) |
String |
value() |
static XmlDocumentCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XmlDocumentCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmlDocumentCategory DOCUMENT
public static final XmlDocumentCategory SECTION
public static final XmlDocumentCategory PARAGRAPH
public static final XmlDocumentCategory SENTENCE
public static final XmlDocumentCategory LIST
public static final XmlDocumentCategory LIST_ITEM
public static XmlDocumentCategory[] values()
for (XmlDocumentCategory c : XmlDocumentCategory.values()) System.out.println(c);
public static XmlDocumentCategory 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 String value()
public static XmlDocumentCategory fromValue(String v)
Copyright © 2020. All Rights Reserved.