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

org.eclipse.rdf4j.rio.helpers.RDFaParserSettings 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 RDFa parsers.
 * 
 * @author Peter Ansell
 */
public class RDFaParserSettings {

	/**
	 * Boolean setting for parser to determine the RDFa version to use when processing the document.
	 * 

* Defaults to {@link RDFaVersion#RDFA_1_0}. */ public static final RioSetting RDFA_COMPATIBILITY = new RioSettingImpl( "org.eclipse.rdf4j.rio.rdfa.version", "RDFa Version Compatibility", RDFaVersion.RDFA_1_0); /** * Enables or disables * vocabulary * expansion feature. *

* Defaults to false * * @see RDFa Vocabulary * Expansion */ public static final RioSetting VOCAB_EXPANSION_ENABLED = new RioSettingImpl( "http://www.w3.org/TR/2012/REC-rdfa-core-20120607/#s_vocab_expansion", "Vocabulary Expansion", Boolean.FALSE); /** * Boolean setting for parser to determine whether the published RDFa prefixes are used to substitute for * undefined prefixes. *

* Defaults to false. * * @deprecated Use {@link BasicParserSettings#NAMESPACES} */ @Deprecated public static final RioSetting FAIL_ON_RDFA_UNDEFINED_PREFIXES = new RioSettingImpl( "org.eclipse.rdf4j.rio.allowrdfaundefinedprefixes", "Allow RDFa Undefined Prefixes", Boolean.FALSE); /** * Private default constructor. */ private RDFaParserSettings() { } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy