|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Listener for XML parsing error. An error 'OnTheFly' means it can be a temporary error while the user is inserting characters.
Method Summary | |
void |
initErrorProcessing()
This is called once before checking the whole document |
void |
notifyError(java.lang.Object context,
boolean localError,
java.lang.String sourceLocation,
int line,
int col,
int offset,
java.lang.String message,
boolean onTheFly)
Notify an XML error found while parsing |
void |
notifyNoError(boolean onTheFly)
Notify the document is correct |
void |
stopErrorProcessing()
This is called once after checking the whole document |
Method Detail |
public void initErrorProcessing()
public void stopErrorProcessing()
public void notifyError(java.lang.Object context, boolean localError, java.lang.String sourceLocation, int line, int col, int offset, java.lang.String message, boolean onTheFly)
context
- the error context, it can be null
and may be ignoredlocalError
- a flag for knowing if the error is inside the current document (sometimes this is inside a DTD or a W3C Schema)sourceLocation
- The document locationline
- The error linecol
- The error columnoffset
- The error offsetmessage
- The error messageonTheFly
- Flag for informing if this is while the user inserts or nopublic void notifyNoError(boolean onTheFly)
onTheFly
- for informing if this is while inserting characters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |