HtmlDocumentType

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

FieldDescription
Html5The HTML5 Document Type.
XhtmlThe XHtml Document Type.

Methods

MethodDescription
getByValue
getValue
valueOfReturns the enum constant of this type with the specified name.
valuesReturns 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:

ParameterTypeDescription
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