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

        @Deprecated(since="4.3.0",
                    forRemoval=true)
        public static final RioSetting<RDFaVersion> RDFA_COMPATIBILITY
        Deprecated, for removal: This API element is subject to removal in a future version.
        Boolean setting for parser to determine the RDFa version to use when processing the document.

        Defaults to RDFaVersion.RDFA_1_0.

      • FAIL_ON_RDFA_UNDEFINED_PREFIXES

        @Deprecated(forRemoval=true)
        public static final RioSetting<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.