- All Implemented Interfaces:
Serializable
,Comparable<AnyMETA.HttpEquiv>
,Function<AnyDocument<?>,
String>
- Enclosing class:
AnyMETA<D extends AnyDocument<D>,
PC extends AnyUnion_Metadata_Phrasing<D, PC>, E extends AnyMETA<D, PC, E>>
public static enum AnyMETA.HttpEquiv
extends Enum<AnyMETA.HttpEquiv>
implements Function<AnyDocument<?>,String>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.Do not use this value, as it is obsolete.Deprecated.This is no longer required as of HTML 5.Allows page authors to define a content policy for the current page.Deprecated.This is no longer required as of HTML 5.Deprecated.Do not use this value, as it is obsolete.The meta element with ahttp-equiv
attribute whose value is "default-style
" represents a pragma directive that specifies the document’s preferred stylesheet.The refresh instruction.Deprecated.Do not use this instruction, as it is obsolete. -
Method Summary
Modifier and TypeMethodDescriptionapply
(AnyDocument<?> document) getValue()
toString()
static AnyMETA.HttpEquiv
Returns the enum constant of this type with the specified name.static AnyMETA.HttpEquiv[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CONTENT_LANGUAGE
Deprecated.Do not use this value, as it is obsolete. Prefer thelang
attribute on the <html> element.Defines the default language of the page. It can be overridden by the lang attribute on any element. -
CONTENT_SECURITY_POLICY
Allows page authors to define a content policy for the current page. Content policies mostly specify allowed server origins and script endpoints which help guard against cross-site scripting attacks. -
CONTENT_SCRIPT_TYPE
Deprecated.This is no longer required as of HTML 5.Authors should specify the default scripting language for all scripts in a document. -
CONTENT_STYLE_TYPE
Deprecated.This is no longer required as of HTML 5.Authors must specify the style sheet language of style information associated with an HTML document. -
CONTENT_TYPE
Deprecated.Defines the MIME type of the document, followed by its character encoding. It follows the same syntax as the HTTPcontent-type
entity-header field, but as it is inside a HTML page, most values other thantext/html
are impossible. Therefore the valid syntax for itscontent
is the string 'text/html
' followed by a character set with the following syntax: '; charset=IANAcharset
', whereIANAcharset
is the preferred MIME name for a character set as defined by the IANA. -
DEFAULT_STYLE
The meta element with ahttp-equiv
attribute whose value is "default-style
" represents a pragma directive that specifies the document’s preferred stylesheet. -
REFRESH
The refresh instruction. This instruction specifies: -
SET_COOKIE
Deprecated.Do not use this instruction, as it is obsolete. Use the HTTP header Set-Cookie instead. It was removed from the standard, and is no longer supported at all in Firefox 68 and Chrome 65.Defines a cookie for the page. Its content must follow the syntax defined in the IETF HTTP Cookie Specification.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<AnyMETA.HttpEquiv>
-
apply
- Specified by:
apply
in interfaceFunction<AnyDocument<?>,
String>
-
getValue
-