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)
IErrorLogListener
errorLog
in interface IErrorLogListener
public boolean isNoDoctypeDeclaration()
IParserError.DOCTYPE_MISSED
public boolean isNonPublicDoctype()
public boolean isInvalidDoctype()
IParserError.ILLEGAL_DOCTYPE
public String getDeclaratedDoctype()
public Vector<IProblemItem> getHtmlProblemVector()
Vector
of IProblemItem