org.eclipse.rdf4j.rio.helpers.TurtleWriterSettings Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (c) 2021 Eclipse RDF4J contributors.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
package org.eclipse.rdf4j.rio.helpers;
import org.eclipse.rdf4j.rio.RioSetting;
/**
* A class encapsulating writer settings that Turtle writers may support.
*
* @author Bart Hanssens
*/
public class TurtleWriterSettings {
/**
* Boolean setting for Turtle/TriG Writer to determine if the abbreviated syntax for numeric datatypes is to be used
* when {@link 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 {@code org.eclipse.rdf4j.rio.turtle.abbreviate_numbers}
*
* @see https://www.w3.org/TR/turtle/#abbrev
* @since 3.7.0
*
* @deprecated Use {@link org.eclipse.rdf4j.rio.turtle.TurtleWriterSettings#ABBREVIATE_NUMBERS} instead.
*/
@Deprecated(since = "4.3.0", forRemoval = true)
public static final BooleanRioSetting ABBREVIATE_NUMBERS = new BooleanRioSetting(
"org.eclipse.rdf4j.rio.turtle.abbreviate_numbers", "Abbreviate numbers", Boolean.TRUE);
/**
* Private default constructor.
*/
private TurtleWriterSettings() {
}
}