public class Doctype extends Object implements Comparable<Doctype>
Modifier and Type | Field and Description |
---|---|
static Doctype |
HTML_4_01_FRAMESET |
static Doctype |
HTML_4_01_FRAMESET_NO_URL |
static Doctype |
HTML_4_01_STRICT |
static Doctype |
HTML_4_01_TRANSITIONAL |
static Doctype |
HTML_4_01_TRANSITIONAL_NO_URL
A workaround for IE6
|
static Doctype |
HTML_5 |
static Doctype |
SVG_1_1 |
static Doctype |
XHTML_1_0_FRAMESET |
static Doctype |
XHTML_1_0_STRICT |
static Doctype |
XHTML_1_0_TRANSITIONAL |
static Doctype |
XHTML_1_0_TRANSITIONAL_NO_URL |
static Doctype |
XHTML_1_1 |
Constructor and Description |
---|
Doctype() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Doctype inObj2) |
boolean |
equals(Object inObj) |
NamedNodeMap |
getEntities() |
String |
getInternalSubset()
The internal subset as a string, or null if there is none.
|
MimeType |
getMimeType() |
NamedNodeMap |
getNotations() |
String |
getPublicId()
The public identifier of the external subset.
|
String |
getSystemId()
The system identifier of the external subset.
|
int |
hashCode() |
String |
name()
The name of DTD; the name immediately following the DOCTYPE keyword.
|
Doctype |
setMimeType(MimeType inValue) |
Doctype |
setName(String inValue) |
Doctype |
setPublicId(String inValue) |
Doctype |
setSystemId(String inValue) |
String |
toString() |
static Doctype |
valueOf(String inValue) |
public static final Doctype HTML_4_01_STRICT
public static final Doctype HTML_4_01_TRANSITIONAL
public static final Doctype HTML_4_01_TRANSITIONAL_NO_URL
public static final Doctype HTML_4_01_FRAMESET
public static final Doctype HTML_4_01_FRAMESET_NO_URL
public static final Doctype XHTML_1_0_STRICT
public static final Doctype XHTML_1_0_TRANSITIONAL
public static final Doctype XHTML_1_0_TRANSITIONAL_NO_URL
public static final Doctype XHTML_1_0_FRAMESET
public Doctype()
public Doctype setMimeType(MimeType inValue)
public MimeType getMimeType()
public Doctype setPublicId(String inValue)
public Doctype setSystemId(String inValue)
public int compareTo(Doctype inObj2)
compareTo
in interface Comparable<Doctype>
public NamedNodeMap getEntities()
public NamedNodeMap getNotations()
public String getPublicId()
public String getSystemId()
public String getInternalSubset()
jataylor@hairyfatguy.com