Class RDFParserHelper

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected RDFParserHelper()
      Protected constructor to prevent direct instantiation.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Literal createLiteral​(java.lang.String label, java.lang.String lang, IRI datatype, ParserConfig parserConfig, ParseErrorListener errListener, ValueFactory valueFactory)
      Create a literal using the given parameters, including iterative verification and normalization by any DatatypeHandler or LanguageHandler implementations that are found in the ParserConfig.
      static Literal createLiteral​(java.lang.String label, java.lang.String lang, IRI datatype, ParserConfig parserConfig, ParseErrorListener errListener, ValueFactory valueFactory, long lineNo, long columnNo)
      Create a literal using the given parameters, including iterative verification and normalization by any DatatypeHandler or LanguageHandler implementations that are found in the ParserConfig.
      static void reportError​(java.lang.Exception e, long lineNo, long columnNo, RioSetting<java.lang.Boolean> relevantSetting, ParserConfig parserConfig, ParseErrorListener errListener)
      Reports an error with associated line- and column number to the registered ParseErrorListener, if the given setting has been set to true.
      static void reportError​(java.lang.String msg, long lineNo, long columnNo, RioSetting<java.lang.Boolean> relevantSetting, ParserConfig parserConfig, ParseErrorListener errListener)
      Reports an error with associated line- and column number to the registered ParseErrorListener, if the given setting has been set to true.
      static void reportError​(java.lang.String msg, RioSetting<java.lang.Boolean> relevantSetting, ParserConfig parserConfig, ParseErrorListener errListener)
      Reports an error with associated line- and column number to the registered ParseErrorListener, if the given setting has been set to true.
      static void reportFatalError​(java.lang.Exception e, long lineNo, long columnNo, ParseErrorListener errListener)
      Reports a fatal error with associated line- and column number to the registered ParseErrorListener, if any, and throws a ParseException wrapped the supplied exception afterwards.
      static void reportFatalError​(java.lang.Exception e, ParseErrorListener errListener)
      Reports a fatal error to the registered ParseErrorListener, if any, and throws a ParseException afterwards.
      static void reportFatalError​(java.lang.String msg, long lineNo, long columnNo, ParseErrorListener errListener)
      Reports a fatal error with associated line- and column number to the registered ParseErrorListener, if any, and throws a ParseException afterwards.
      static void reportFatalError​(java.lang.String message, java.lang.Exception e, long lineNo, long columnNo, ParseErrorListener errListener)
      Reports a fatal error with associated line- and column number to the registered ParseErrorListener, if any, and throws a ParseException wrapped the supplied exception afterwards.
      static void reportFatalError​(java.lang.String msg, ParseErrorListener errListener)
      Reports a fatal error to the registered ParseErrorListener, if any, and throws a ParseException afterwards.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait