public class HtmlErrorLogListener extends Object implements IErrorLogListener
IErrorLogListener to correct HTML parse errors.| Constructor and Description |
|---|
HtmlErrorLogListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
errorLog(int arg0,
String arg1)
Records error messages.
|
String |
getDeclaratedDoctype()
Get DOCTYPE declaration that causes the Invalid DOCTYPE declaration error
|
Vector<IProblemItem> |
getHtmlProblemVector()
Get HTML parse errors as
Vector of IProblemItem |
boolean |
isInvalidDoctype() |
boolean |
isNoDoctypeDeclaration() |
boolean |
isNonPublicDoctype() |
public void errorLog(int arg0,
String arg1)
IErrorLogListenererrorLog in interface IErrorLogListenerpublic boolean isNoDoctypeDeclaration()
IParserError.DOCTYPE_MISSEDpublic boolean isNonPublicDoctype()
public boolean isInvalidDoctype()
IParserError.ILLEGAL_DOCTYPEpublic String getDeclaratedDoctype()
public Vector<IProblemItem> getHtmlProblemVector()
Vector of IProblemItem