|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.rio.helpers.ParseErrorLogger
public class ParseErrorLogger
A ParseErrorListener that reports Rio parser errors to the SLf4J Logging framework.
| Constructor Summary | |
|---|---|
ParseErrorLogger()
|
|
| Method Summary | |
|---|---|
void |
error(String msg,
int lineNo,
int colNo)
Reports an error from the parser. |
void |
fatalError(String msg,
int lineNo,
int colNo)
Reports a fatal error from the parser. |
void |
warning(String msg,
int lineNo,
int colNo)
Reports a warning from the parser. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParseErrorLogger()
| Method Detail |
|---|
public void warning(String msg,
int lineNo,
int colNo)
ParseErrorListener
warning in interface ParseErrorListenermsg - A warning message.lineNo - A line number related to the warning, or -1 if not
available or applicable.colNo - A column number related to the warning, or -1 if not
available or applicable.
public void error(String msg,
int lineNo,
int colNo)
ParseErrorListener
error in interface ParseErrorListenermsg - A error message.lineNo - A line number related to the error, or -1 if not
available or applicable.colNo - A column number related to the error, or -1 if not
available or applicable.RDFParser.setStopAtFirstError(boolean)
public void fatalError(String msg,
int lineNo,
int colNo)
ParseErrorListener
fatalError in interface ParseErrorListenermsg - A error message.lineNo - A line number related to the error, or -1 if not
available or applicable.colNo - A column number related to the error, or -1 if not
available or applicable.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||