All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.docbook.model.Temporal Maven / Gradle / Ivy

The newest version!

package org.docbook.model;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for temporal. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="temporal">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
 *     <enumeration value="dcmiperiod"/>
 *     <enumeration value="w3c-dtf"/>
 *     <enumeration value="othertemporal"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "temporal") @XmlEnum public enum Temporal { @XmlEnumValue("dcmiperiod") DCMI_PERIOD("dcmiperiod"), @XmlEnumValue("w3c-dtf") W_3_C_DTF("w3c-dtf"), @XmlEnumValue("othertemporal") OTHER_TEMPORAL("othertemporal"); private final String value; Temporal(String v) { value = v; } public String value() { return value; } public static Temporal fromValue(String v) { for (Temporal c: Temporal.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy