HtmlDocumentType
Contents
[
Hide
]Inheritance: java.lang.Object, java.lang.Enum < HtmlDocumentType > com.aspose.pdf.HtmlDocumentType, java.lang.Enum < HtmlDocumentType >, com.aspose.pdf.HtmlDocumentType
All Implemented Interfaces: Serializable, Comparable < HtmlDocumentType >
public enum HtmlDocumentType extends Enum < HtmlDocumentType >
Represents enumeration of the Html document types.
Fields
| Field | Description |
|---|---|
| Html5 | The HTML5 Document Type. |
| Xhtml | The XHtml Document Type. |
Methods
| Method | Description |
|---|---|
| getByValue | |
| getValue | |
| valueOf | Returns the enum constant of this type with the specified name. |
| values | Returns an array containing the constants of this enum type, in the order they are declared. |
Html5
public static final HtmlDocumentType Html5
The HTML5 Document Type.
Xhtml
public static final HtmlDocumentType Xhtml
The XHtml Document Type.
getByValue
public static HtmlDocumentType getByValue(int value)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value |
getValue
public int getValue()
valueOf
Returns the enum constant of this type with the specified name.
values
public static HtmlDocumentType [] 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