public enum DocType extends Enum<DocType> implements Renderable
http://www.w3schools.com/tags/tag_DOCTYPE.asp| Enum Constant and Description |
|---|
HTML_4_01_Strict |
HTML_4_01_Transitional |
HTML5 |
XHTML_1_0_Strict |
XML_1_0 |
| Modifier and Type | Method and Description |
|---|---|
void |
renderOn(HtmlCanvas html)
Render the receiver using the HTML html.
|
static DocType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocType XHTML_1_0_Strict
public static final DocType HTML_4_01_Strict
public static final DocType HTML_4_01_Transitional
public static final DocType HTML5
public static final DocType XML_1_0
public static DocType[] values()
for (DocType c : DocType.values()) System.out.println(c);
public static DocType 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 void renderOn(HtmlCanvas html) throws IOException
RenderablerenderOn in interface RenderableIOExceptionCopyright © 2010–2018. All rights reserved.