Class TurtleWriterSettings


  • public class TurtleWriterSettings
    extends java.lang.Object
    A class encapsulating writer settings that Turtle writers may support.
    Since:
    4.3.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static RioSetting<java.lang.Boolean> ABBREVIATE_NUMBERS
      Boolean setting for Turtle/TriG Writer to determine if the abbreviated syntax for numeric datatypes is to be used when org.eclipse.rdf4j.rio.helpers.BasicWriterSettings.html#PRETTY_PRINT is true.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private TurtleWriterSettings()
      Private default constructor.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • ABBREVIATE_NUMBERS

        public static final RioSetting<java.lang.Boolean> ABBREVIATE_NUMBERS
        Boolean setting for Turtle/TriG Writer to determine if the abbreviated syntax for numeric datatypes is to be used when org.eclipse.rdf4j.rio.helpers.BasicWriterSettings.html#PRETTY_PRINT is true.

        This setting has no effect when pretty print is false.

        Defaults to true.

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

        Since:
        3.7.0
        See Also:
        https://www.w3.org/TR/turtle/#abbrev
    • Constructor Detail

      • TurtleWriterSettings

        private TurtleWriterSettings()
        Private default constructor.