Class RDFaParserSettings


  • public class RDFaParserSettings
    extends Object
    A selection of parser settings specific to RDFa parsers.

    Several of these settings can be overridden by means of a system property, but only if specified at JVM startup time.

    Author:
    Peter Ansell
    • Field Detail

      • RDFA_COMPATIBILITY

        public static final RioSetting<RDFaVersion> RDFA_COMPATIBILITY
        Boolean setting for parser to determine the RDFa version to use when processing the document. Note that although these settings are not used within RDF4J, they are in use by external plugins.
        See Also:
        https://github.com/eclipse-rdf4j/rdf4j/issues/4779

        Defaults to RDFaVersion#RDFA_1_0.

      • VOCAB_EXPANSION_ENABLED

        public static final BooleanRioSetting VOCAB_EXPANSION_ENABLED
        Enables or disables vocabulary expansion feature. Note that although these settings are not used within RDF4J, they are in use by external plugins.

        Defaults to false

        Can be overridden by setting system property org.eclipse.rdf4j.rio.rdfa.vocab_expansion.

        See Also:
        RDFa Vocabulary Expansion
      • FAIL_ON_RDFA_UNDEFINED_PREFIXES

        @Deprecated(forRemoval=true)
        public static final BooleanRioSetting FAIL_ON_RDFA_UNDEFINED_PREFIXES
        Deprecated, for removal: This API element is subject to removal in a future version.
        Boolean setting for parser to determine whether the published RDFa prefixes are used to substitute for undefined prefixes.

        Defaults to false.

        Can be overridden by setting system property org.eclipse.rdf4j.rio.rdfa.allow_undefined_prefixes.