Class TurtleParserSettings


  • public class TurtleParserSettings
    extends java.lang.Object
    Parser Settings that are specific to RDFFormat.TURTLE parsers.
    Since:
    4.3.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static RioSetting<java.lang.Boolean> ACCEPT_TURTLESTAR
      Allows the regular Turtle parser to accept data using the non-standard Turtle-star extension.
      static RioSetting<java.lang.Boolean> CASE_INSENSITIVE_DIRECTIVES
      Allows the Turtle parser to recognize @BASE and @PREFIX in a similar way to the SPARQL case insensitive directives.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CASE_INSENSITIVE_DIRECTIVES

        public static final RioSetting<java.lang.Boolean> CASE_INSENSITIVE_DIRECTIVES
        Allows the Turtle parser to recognize @BASE and @PREFIX in a similar way to the SPARQL case insensitive directives.

        Defaults to false.

        Can be overridden by setting system property org.eclipse.rdf4j.rio.turtle.case_insensitive_directives.

      • ACCEPT_TURTLESTAR

        public static final RioSetting<java.lang.Boolean> ACCEPT_TURTLESTAR
        Allows the regular Turtle parser to accept data using the non-standard Turtle-star extension.

        Defaults to true.

        This setting has no effect on the behavior of the TurtleStarParser.

        Can be overridden by setting system property org.eclipse.rdf4j.rio.turtle.accept_turtlestar.

    • Constructor Detail

      • TurtleParserSettings

        private TurtleParserSettings()