public enum HtmlMediaType extends Enum<HtmlMediaType>
Specifies possible media types used during rendering.
Modifier and Type | Method and Description |
---|---|
static HtmlMediaType |
getByValue(int value) |
int |
getValue() |
static HtmlMediaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HtmlMediaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HtmlMediaType Print
Print.
public static final HtmlMediaType Screen
Screen.
public static HtmlMediaType[] values()
for (HtmlMediaType c : HtmlMediaType.values()) System.out.println(c);
public static HtmlMediaType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static HtmlMediaType getByValue(int value)
Copyright © 2025 Aspose. All Rights Reserved.