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

com.glookast.commons.timecode.TimecodeSource Maven / Gradle / Ivy

There is a newer version: 2.0.1
Show newest version

package com.glookast.commons.timecode;

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


/**
 * 

Java class for TimecodeSource. * *

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

*

 * <simpleType name="TimecodeSource">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="ltc"/>
 *     <enumeration value="vitc"/>
 *     <enumeration value="tod"/>
 *     <enumeration value="rs422"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "TimecodeSource", namespace = "http://timecode.commons.glookast.com") @XmlEnum public enum TimecodeSource { @XmlEnumValue("ltc") LTC("ltc"), @XmlEnumValue("vitc") VITC("vitc"), @XmlEnumValue("tod") TOD("tod"), @XmlEnumValue("rs422") RS_422("rs422"); private final String value; TimecodeSource(String v) { value = v; } public String value() { return value; } public static TimecodeSource fromValue(String v) { for (TimecodeSource c: TimecodeSource.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy