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