public enum HtmlDocumentType extends Enum<HtmlDocumentType>
Represents enumeration of the Html document types.
Enum Constant and Description |
---|
Html5
The HTML5 Document Type.
|
Xhtml
The XHtml Document Type.
|
Modifier and Type | Method and Description |
---|---|
static HtmlDocumentType |
getByValue(int value) |
int |
getValue() |
static HtmlDocumentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HtmlDocumentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HtmlDocumentType Xhtml
The XHtml Document Type.
public static final HtmlDocumentType Html5
The HTML5 Document Type.
public static HtmlDocumentType[] values()
for (HtmlDocumentType c : HtmlDocumentType.values()) System.out.println(c);
public static HtmlDocumentType 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 HtmlDocumentType getByValue(int value)
Copyright © 2025 Aspose. All Rights Reserved.