| 
 | ||||||||||
| 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_VALUEError code for token-level error of attribute value. | 
| static int | BEFORE_ATTRNAMEError code for token-level error before attribute's name. | 
| static int | BOM | 
| static int | DOCTYPE_MISSEDError code for missing DOCTYPE declaration. | 
| static int | FLOATING_ENDTAGError code for a floating endtag. | 
| static int | ILLEGAL_ATTRIBUTEError code for an illegal attribute. | 
| static int | ILLEGAL_CHILDError code for illegal child. | 
| static int | ILLEGAL_DOCTYPEError code for syntax error of DOCTYPE declaration. | 
| static int | ILLEGAL_TOP_ELEMENTError code for an illegal top element. | 
| static int | MISC_ERRError code for miscellenious | 
| static int | STARTTAG_SYNTAX_ERRError code for syntax error of start tag text. | 
| static int | SUDDEN_ENDTAGError code for sudden endtag. | 
| static int | TAG_NAMEError code for token-level error of tag name. | 
| static int | UNKNOWN_ELEMENTError 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
static final int BOM
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||