![JAR search and dependency download from the Maven repository](/logo.png)
org.w3._1999.xhtml.HttpEquiv Maven / Gradle / Ivy
//
// Diese Datei wurde mit der Eclipse Implementation of JAXB, v4.0.2 generiert
// Siehe https://eclipse-ee4j.github.io/jaxb-ri
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
//
package org.w3._1999.xhtml;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java-Klasse für httpEquiv.
*
*
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
{@code
*
*
*
*
*
*
*
*
*
* }
*
*/
@XmlType(name = "httpEquiv")
@XmlEnum
public enum HttpEquiv {
@XmlEnumValue("content-language")
CONTENT_LANGUAGE("content-language"),
@XmlEnumValue("content-type")
CONTENT_TYPE("content-type"),
@XmlEnumValue("default-style")
DEFAULT_STYLE("default-style"),
@XmlEnumValue("refresh")
REFRESH("refresh"),
@XmlEnumValue("set-cookie")
SET_COOKIE("set-cookie");
private final String value;
HttpEquiv(String v) {
value = v;
}
public String value() {
return value;
}
public static HttpEquiv fromValue(String v) {
for (HttpEquiv c: HttpEquiv.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy