![JAR search and dependency download from the Maven repository](/logo.png)
com.glookast.commons.timecode.TimecodeSource Maven / Gradle / Ivy
package com.glookast.commons.timecode;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
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
{
LTC("LTC"),
VITC("VITC"),
TOD("TOD"),
@XmlEnumValue("RS422")
RS_422("RS422");
private final String value;
TimecodeSource(String v)
{
value = v;
}
@JsonValue()
public String value()
{
return value;
}
@JsonCreator
public static TimecodeSource fromValue(String v)
{
for (TimecodeSource c : TimecodeSource.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy