public enum DoctypeEnum extends Enum<DoctypeEnum>
Enum Constant and Description |
---|
html_4_01_strict |
html_4_01_transitional |
xhtml_1_0_strict |
Modifier and Type | Method and Description |
---|---|
boolean |
isXML() |
String |
publicId() |
String |
systemId() |
static DoctypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DoctypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeValid(Writer w)
Writes the W3C "valid" icon into the page for the
DoctypeEnum . |
public static final DoctypeEnum html_4_01_strict
public static final DoctypeEnum html_4_01_transitional
public static final DoctypeEnum xhtml_1_0_strict
public static DoctypeEnum[] values()
for (DoctypeEnum c : DoctypeEnum.values()) System.out.println(c);
public static DoctypeEnum 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 String publicId()
public String systemId()
public boolean isXML()
public void writeValid(Writer w) throws IOException
DoctypeEnum
.w
- IOException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.