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

org.eclipse.rdf4j.rio.helpers.TriXParserSettings 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;

/**
 * ParserSettings for the TriX parser features.
 * 

* Several of these settings can be overridden by means of a system property, but only if specified at JVM startup time. * * @author Peter Ansell */ public class TriXParserSettings { /** * Boolean setting for parser to determine whether the TriX parser should treat missing datatypes as an error. *

* Defaults to true. *

* Can be overridden by setting system property {@code org.eclipse.rdf4j.rio.trix.fail_on_missing_datatype}. * * @deprecated Use {@link org.eclipse.rdf4j.rio.trix.TriXParserSettings#FAIL_ON_MISSING_DATATYPE} instead. */ @Deprecated(since = "4.3.0", forRemoval = true) public static final BooleanRioSetting FAIL_ON_MISSING_DATATYPE = new BooleanRioSetting( "org.eclipse.rdf4j.rio.trix.fail_on_missing_datatype", "Fail on TriX missing datatype", Boolean.TRUE); /** * Boolean setting for parser to determine whether the TriX parser should treat invalid statements as an error. *

* Defaults to true. *

* Can be overridden by setting system property {@code org.eclipse.rdf4j.rio.trix.fail_on_invalid_statement}. * * @deprecated Use {@link org.eclipse.rdf4j.rio.trix.TriXParserSettings#FAIL_ON_INVALID_STATEMENT} instead. */ @Deprecated(since = "4.3.0", forRemoval = true) public static final BooleanRioSetting FAIL_ON_INVALID_STATEMENT = new BooleanRioSetting( "org.eclipse.rdf4j.rio.trix.fail_on_invalid_statement", "Fail on TriX invalid statement", Boolean.TRUE); /** * Private constructor */ private TriXParserSettings() { } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy