|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.htmlcleaner.BaseTokenImpl org.htmlcleaner.DoctypeToken
public class DoctypeToken
HTML doctype token.
Field Summary | |
---|---|
static int |
HTML4_0
|
static int |
HTML4_01
|
static int |
HTML4_01_FRAMESET
|
static int |
HTML4_01_STRICT
|
static int |
HTML4_01_TRANSITIONAL
|
static int |
HTML5
|
static int |
HTML5_LEGACY_TOOL_COMPATIBLE
|
static int |
UNKNOWN
|
static int |
XHTML1_0_FRAMESET
|
static int |
XHTML1_0_STRICT
|
static int |
XHTML1_0_TRANSITIONAL
|
static int |
XHTML1_1
|
static int |
XHTML1_1_BASIC
|
Constructor Summary | |
---|---|
DoctypeToken(String part1,
String part2,
String part3,
String part4)
|
|
DoctypeToken(String part1,
String part2,
String part3,
String part4,
String part5)
|
Method Summary | |
---|---|
String |
getContent()
|
String |
getName()
|
String |
getPart1()
|
String |
getPart2()
|
String |
getPart3()
Deprecated. |
String |
getPart4()
Deprecated. |
String |
getPublicId()
This will retrieve the public ID of an externally referenced DTD, or an empty String if none is referenced. |
String |
getSystemId()
This will retrieve the system ID of an externally referenced DTD, or an empty String if none is referenced. |
int |
getType()
This will retrieve an integer representing the identified DocType |
boolean |
isValid()
|
void |
serialize(Serializer serializer,
Writer writer)
|
String |
toString()
|
Methods inherited from class org.htmlcleaner.BaseTokenImpl |
---|
getCol, getRow, setCol, setRow |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.htmlcleaner.BaseToken |
---|
getCol, getRow, setCol, setRow |
Field Detail |
---|
public static final int UNKNOWN
public static final int HTML4_0
public static final int HTML4_01
public static final int HTML4_01_STRICT
public static final int HTML4_01_TRANSITIONAL
public static final int HTML4_01_FRAMESET
public static final int XHTML1_0_STRICT
public static final int XHTML1_0_TRANSITIONAL
public static final int XHTML1_0_FRAMESET
public static final int XHTML1_1
public static final int XHTML1_1_BASIC
public static final int HTML5
public static final int HTML5_LEGACY_TOOL_COMPATIBLE
Constructor Detail |
---|
public DoctypeToken(String part1, String part2, String part3, String part4)
public DoctypeToken(String part1, String part2, String part3, String part4, String part5)
Method Detail |
---|
public boolean isValid()
public String getContent()
public String toString()
toString
in class BaseTokenImpl
public int getType()
public String getName()
public void serialize(Serializer serializer, Writer writer) throws IOException
serialize
in interface BaseToken
IOException
public String getPublicId()
public String getSystemId()
public String getPart1()
public String getPart2()
@Deprecated public String getPart3()
@Deprecated public String getPart4()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |