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

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

There is a newer version: 2.5.0-M2
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.
 *******************************************************************************/
package org.eclipse.rdf4j.rio.helpers;

import org.eclipse.rdf4j.rio.RioSetting;

/**
 * A selection of parser settings specific to RDF/JSON parsers.
 * 
 * @author Peter Ansell
 */
public class RDFJSONParserSettings {

	/**
	 * Boolean setting for parser to determine whether an RDF/JSON parser should fail if it finds multiple
	 * values for a single object in a single statement.
	 * 

* Defaults to true. */ public static final RioSetting FAIL_ON_MULTIPLE_OBJECT_VALUES = new RioSettingImpl( "org.eclipse.rdf4j.rio.failonmultipleobjectvalues", "Fail on multiple object values", Boolean.TRUE); /** * Boolean setting for parser to determine whether an RDF/JSON parser should fail if it finds multiple * types for a single object in a single statement. *

* Defaults to true. */ public static final RioSetting FAIL_ON_MULTIPLE_OBJECT_TYPES = new RioSettingImpl( "org.eclipse.rdf4j.rio.failonmultipleobjecttypes", "Fail on multiple object types", Boolean.TRUE); /** * Boolean setting for parser to determine whether an RDF/JSON parser should fail if it finds multiple * languages for a single object in a single statement. *

* Defaults to true. */ public static final RioSetting FAIL_ON_MULTIPLE_OBJECT_LANGUAGES = new RioSettingImpl( "org.eclipse.rdf4j.rio.failonmultipleobjectlanguages", "Fail on multiple object languages", Boolean.TRUE); /** * Boolean setting for parser to determine whether an RDF/JSON parser should fail if it finds multiple * datatypes for a single object in a single statement. *

* Defaults to true. */ public static final RioSetting FAIL_ON_MULTIPLE_OBJECT_DATATYPES = new RioSettingImpl( "org.eclipse.rdf4j.rio.failonmultipleobjectdatatypes", "Fail on multiple object datatypes", Boolean.TRUE); /** * Boolean setting for parser to determine whether an RDF/JSON parser should fail if it finds multiple * properties that it does not recognise in the JSON document. *

* Defaults to true. */ public static final RioSetting FAIL_ON_UNKNOWN_PROPERTY = new RioSettingImpl( "org.eclipse.rdf4j.rio.failonunknownproperty", "Fail on unknown property", Boolean.TRUE); /** * Boolean setting for parser to determine whether an RDF/JSON parser should support the graphs extension * to make it a quads format. *

* Defaults to true. */ public static final RioSetting SUPPORT_GRAPHS_EXTENSION = new RioSettingImpl( "org.eclipse.rdf4j.rio.supportgraphsextension", "SUPPORT_GRAPHS_EXTENSION", Boolean.TRUE); /** * Private default constructor. */ private RDFJSONParserSettings() { } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy