public enum HTMLContentType extends java.lang.Enum<HTMLContentType>
| Enum Constant and Description |
|---|
MARKUP
Markup content
|
META
Meta content
|
SCRIPT_INCLUDE
External javascript included via
<script src="some.js"/> |
SCRIPT_INLINE
Inline javascript within the
<script> tag |
STYLES_INLINE
inline styles within the
<style> tag |
STYLESHEET_INCLUDE
External css included via
<link rel="stylesheet" href="some.css"/> |
| Modifier and Type | Method and Description |
|---|---|
static HTMLContentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HTMLContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HTMLContentType META
public static final HTMLContentType MARKUP
public static final HTMLContentType SCRIPT_INCLUDE
<script src="some.js"/>public static final HTMLContentType SCRIPT_INLINE
<script> tagpublic static final HTMLContentType STYLES_INLINE
<style> tagpublic static final HTMLContentType STYLESHEET_INCLUDE
<link rel="stylesheet" href="some.css"/>public static HTMLContentType[] values()
for (HTMLContentType c : HTMLContentType.values()) System.out.println(c);
public static HTMLContentType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2010 - 2023 Adobe. All Rights Reserved