public static enum ContentWriterHtml.DocType extends Enum<ContentWriterHtml.DocType>
Enum Constant and Description |
---|
HTML_4_FRAMESET |
HTML_4_STRICT |
HTML_4_TRANSITIONAL |
HTML_5 |
XHTML_1_FRAMESET |
XHTML_1_STRICT |
XHTML_1_TRANSITIONAL |
XHTML_11 |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
getPublicId() |
String |
getSystemId() |
static ContentWriterHtml.DocType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentWriterHtml.DocType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentWriterHtml.DocType HTML_5
public static final ContentWriterHtml.DocType HTML_4_FRAMESET
public static final ContentWriterHtml.DocType HTML_4_TRANSITIONAL
public static final ContentWriterHtml.DocType HTML_4_STRICT
public static final ContentWriterHtml.DocType XHTML_1_FRAMESET
public static final ContentWriterHtml.DocType XHTML_1_TRANSITIONAL
public static final ContentWriterHtml.DocType XHTML_1_STRICT
public static final ContentWriterHtml.DocType XHTML_11
public static ContentWriterHtml.DocType[] values()
for (ContentWriterHtml.DocType c : ContentWriterHtml.DocType.values()) System.out.println(c);
public static ContentWriterHtml.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 String getName()
public String getPublicId()
public String getSystemId()
Copyright © 2004-2013 X4O. All Rights Reserved.