All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.rdf4j.rio.helpers.TurtleParserSettings Maven / Gradle / Ivy

There is a newer version: 5.0.2
Show newest version
/*******************************************************************************
 * Copyright (c) 2015 Eclipse RDF4J contributors, Aduna, and others.
 *
 * 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;

/**
 * Parser Settings that are specific to {@link org.eclipse.rdf4j.rio.RDFFormat#TURTLE} parsers.
 *
 * @author Peter Ansell
 */
public class TurtleParserSettings {

	/**
	 * 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 {@code org.eclipse.rdf4j.rio.turtle.case_insensitive_directives}. * * @deprecated Use {@link org.eclipse.rdf4j.rio.turtle.TurtleParserSettings#CASE_INSENSITIVE_DIRECTIVES} instead. */ @Deprecated(since = "4.3.0", forRemoval = true) public static final BooleanRioSetting CASE_INSENSITIVE_DIRECTIVES = new BooleanRioSetting( "org.eclipse.rdf4j.rio.turtle.case_insensitive_directives", "Allows case-insensitive directives to be recognised", Boolean.FALSE); /** * 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 {@code org.eclipse.rdf4j.rio.turtle.accept_turtlestar}. * * @deprecated Use {@link org.eclipse.rdf4j.rio.turtle.TurtleParserSettings#ACCEPT_TURTLESTAR} instead. */ @Deprecated(since = "4.3.0", forRemoval = true) public static final BooleanRioSetting ACCEPT_TURTLESTAR = new BooleanRioSetting( "org.eclipse.rdf4j.rio.turtle.accept_turtlestar", "Allow processing of Turtle-star data by the standard Turtle parser", Boolean.TRUE); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy