|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
oracle.xml.parser.v2.XMLError
This class hold error message and the line number where it occured
| Constructor Summary |
XMLError()
Default constructor |
| Method Summary |
| Type | Method |
|---|---|
void |
error(int line,
int col,
java.lang.String pubId,
java.lang.String sysId,
java.lang.String mesg,
int id,
int type,
boolean stop)
Adds a new error to the vector |
void |
flushErrors()
Flush all the error to the ouput stream output stream defaults or to error handler |
void |
flushErrors1()
|
ErrorHandler |
getErrorHandler()
Return register error handler |
ErrorListener |
getErrorListener()
Deprecated. - This functions should be used. |
void |
setErrorHandler(ErrorHandler err)
Register error handler |
void |
setErrorListener(ErrorListener el)
Deprecated. - This functions should be used. |
| Constructor Detail |
public XMLError()
| Method Detail |
public void setErrorHandler(ErrorHandler err)
err - - ErrorHandlerpublic ErrorHandler getErrorHandler()
public void error(int line,
int col,
java.lang.String pubId,
java.lang.String sysId,
java.lang.String mesg,
int id,
int type,
boolean stop)
throws XMLParseException
line - the line number where error occurscol - the column number where the error occurspubId - the public IdentifiersysId - the system identifiermesg - the error messageid - the error idtype - the error typestop - boolean to indicate if the processing needs to be stopped.
public void flushErrors()
throws XMLParseException
public void flushErrors1()
throws XMLParseException,
SAXParseException,
SAXException,
java.io.IOException
public void setErrorListener(ErrorListener el)
err - - ErrorListenerpublic ErrorListener getErrorListener()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||