public class VerificationListener extends AbstractRDFHandler implements ParseErrorListener
| Constructor and Description | 
|---|
| VerificationListener(ConsoleIO consoleIO)Constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| void | error(String msg,
     long lineNo,
     long colNo)Reports an error from the parser. | 
| void | fatalError(String msg,
          long lineNo,
          long colNo)Reports a fatal error from the parser. | 
| int | getErrors()Get number of errors | 
| int | getStatements()Get number of statements | 
| int | getWarnings()Get number of warnings | 
| void | handleStatement(Statement statement)Handles a statement. | 
| void | warning(String msg,
       long lineNo,
       long colNo)Reports a warning from the parser. | 
endRDF, handleComment, handleNamespace, startRDFpublic VerificationListener(ConsoleIO consoleIO)
consoleIO - public int getWarnings()
public int getErrors()
public int getStatements()
public void handleStatement(Statement statement) throws RDFHandlerException
RDFHandlerhandleStatement in interface RDFHandlerhandleStatement in class AbstractRDFHandlerstatement - The statement.RDFHandlerException - If the RDF handler has encountered an unrecoverable error.public void warning(String msg, long lineNo, long colNo)
ParseErrorListenerwarning 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, long lineNo, long colNo)
ParseErrorListenererror 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, long lineNo, long colNo)
ParseErrorListenerfatalError 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.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.