Package org.w3c.tidy
Enum HtmlVersion
- All Implemented Interfaces:
Serializable
,Comparable<HtmlVersion>
,java.lang.constant.Constable
Constants for supported HTML schemas.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionxhtml basic.html 4.0 frameset.html 2.0.html 3.2.html 4.0 transitional.html 4.0 strict.HTML 5.malformed.microsoft.netscape.sun.unknown.xhtml 1.1.xml. -
Method Summary
Modifier and TypeMethodDescriptionstatic HtmlVersion
Returns the enum constant of this type with the specified name.static HtmlVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
unknown. -
HTML20
html 2.0. -
HTML32
html 3.2. -
HTML40_STRICT
html 4.0 strict. -
HTML40_LOOSE
html 4.0 transitional. -
FRAMESET
html 4.0 frameset. -
XML
xml. -
NETSCAPE
netscape. -
MICROSOFT
microsoft. -
SUN
sun. -
MALFORMED
malformed. -
XHTML11
xhtml 1.1. -
BASIC
xhtml basic. -
HTML5
HTML 5.
-
-
Method Details
-
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
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-