simplenlg.xmlrealiser.wrapper.XmlPhraseCategory Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.02.04 at 09:14:07 AM EST
//
package simplenlg.xmlrealiser.wrapper;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* 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>
*
*
*/
@XmlType(name = "phraseCategory")
@XmlEnum
public enum XmlPhraseCategory {
CLAUSE,
ADJECTIVE_PHRASE,
ADVERB_PHRASE,
NOUN_PHRASE,
PREPOSITIONAL_PHRASE,
VERB_PHRASE,
CANNED_TEXT;
public String value() {
return name();
}
public static XmlPhraseCategory fromValue(String v) {
return valueOf(v);
}
}