Enum Constant Summary
Enum Constants
Field Summary
Fields
The default doctype for older implementations that do not set any.
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods
boolean
Gets the default script type/language attribute, if any.
Gets the default style type attribute, if any.
boolean
Appends the default script type/language attribute, if any.
Appends the default style type attribute, if any.
final boolean
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in
the order they are declared.
boolean
boolean
Enum Constant Details
TRANSITIONAL
public static final Doctype TRANSITIONAL
FRAMESET
public static final Doctype FRAMESET
Field Details
DEFAULT
public static final Doctype DEFAULT
The default doctype for older implementations that do not set any.
See Also:
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 name
NullPointerException
- if the argument is null
getScriptType
public abstract String getScriptType ()
Gets the default script type/language attribute, if any.
Returns:
The attribute, starting with a space, or ""
for none.
scriptType
Appends the default script type/language attribute, if any.
Throws:
IOException
getStyleType
public abstract String getStyleType ()
Gets the default style type attribute, if any.
Returns:
The attribute, starting with a space, or ""
for none.
styleType
Appends the default style type attribute, if any.
Throws:
IOException
getSupportsIRI
public boolean getSupportsIRI ()
Does this doctype support
RFC 3987 IRI .
Unicode format URLs?
supportsIRI
Deprecated.
Does this doctype support
RFC 3987 IRI .
Unicode format URLs?
getSupportsIRI()
instead.