|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IParserError
Interface for parser error constants
Field Summary | |
---|---|
static int |
ATTR_VALUE
Error code for token-level error of attribute value. |
static int |
BEFORE_ATTRNAME
Error code for token-level error before attribute's name. |
static int |
DOCTYPE_MISSED
Error code for missing DOCTYPE declaration. |
static int |
FLOATING_ENDTAG
Error code for a floating endtag. |
static int |
ILLEGAL_ATTRIBUTE
Error code for an illegal attribute. |
static int |
ILLEGAL_CHILD
Error code for illegal child. |
static int |
ILLEGAL_DOCTYPE
Error code for syntax error of DOCTYPE declaration. |
static int |
ILLEGAL_TOP_ELEMENT
Error code for an illegal top element. |
static int |
MISC_ERR
Error code for miscellenious |
static int |
STARTTAG_SYNTAX_ERR
Error code for syntax error of start tag text. |
static int |
SUDDEN_ENDTAG
Error code for sudden endtag. |
static int |
TAG_NAME
Error code for token-level error of tag name. |
static int |
UNKNOWN_ELEMENT
Error code for unknown elements (not defined in pre-read DTD) |
Field Detail |
---|
static final int DOCTYPE_MISSED
static final int ILLEGAL_DOCTYPE
static final int ILLEGAL_TOP_ELEMENT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> <LI>This kind of error is not dealt with error handlers
static final int ILLEGAL_ATTRIBUTE
static final int FLOATING_ENDTAG
<P> ... <!-- Here is an omitted end tag of P becase following HR is now allowed as a child of P --> <HR> ... </P>
static final int SUDDEN_ENDTAG
<I> ... <B> ... </I> ... </B>
static final int ILLEGAL_CHILD
<HTML> <HEAD> <P> Illegal </P> <TITLE> ...
static final int UNKNOWN_ELEMENT
static final int STARTTAG_SYNTAX_ERR
static final int MISC_ERR
static final int ATTR_VALUE
static final int BEFORE_ATTRNAME
static final int TAG_NAME
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |