TChangeFreq.java
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.11.25 at 05:49:20 PM GMT
//
package org.sitemaps;
import javax.annotation.Generated;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for tChangeFreq.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="tChangeFreq">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="always"/>
* <enumeration value="hourly"/>
* <enumeration value="daily"/>
* <enumeration value="weekly"/>
* <enumeration value="monthly"/>
* <enumeration value="yearly"/>
* <enumeration value="never"/>
* </restriction>
* </simpleType>
* </pre>
*
*/
@XmlType(name = "tChangeFreq")
@XmlEnum
@Generated(value = "com.sun.tools.xjc.Driver", date = "2018-11-25T05:49:20+00:00", comments = "JAXB RI v2.3.0")
public enum TChangeFreq {
@XmlEnumValue("always")
ALWAYS("always"),
@XmlEnumValue("hourly")
HOURLY("hourly"),
@XmlEnumValue("daily")
DAILY("daily"),
@XmlEnumValue("weekly")
WEEKLY("weekly"),
@XmlEnumValue("monthly")
MONTHLY("monthly"),
@XmlEnumValue("yearly")
YEARLY("yearly"),
@XmlEnumValue("never")
NEVER("never");
private final String value;
TChangeFreq(String v) {
value = v;
}
public String value() {
return value;
}
public static TChangeFreq fromValue(String v) {
for (TChangeFreq c: TChangeFreq.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}