Class RDFaParserSettings


  • public class RDFaParserSettings
    extends java.lang.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.

    • 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

        @Deprecated(since="4.3.0",
                    forRemoval=true)
        public static final RioSetting<java.lang.Boolean> VOCAB_EXPANSION_ENABLED
        Deprecated, for removal: This API element is subject to removal in a future version.
        Enables or disables vocabulary expansion feature.

        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 RioSetting<java.lang.Boolean> 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.

    • Constructor Detail

      • RDFaParserSettings

        private RDFaParserSettings()
        Private default constructor.