Package org.openrdf.rio.helpers

Examples of org.openrdf.rio.helpers.RDFaVersion


     * Changes {@link RdfaParser#RDFA_VERSION_PROPERTY} setting
     * @param rdfaCompatibility new value to be set
     */
    public void setRdfaCompatibility(short rdfaCompatibility) {
        // Map from RDFa short constants to Sesame RDFaVersion
        RDFaVersion version = RDFaVersion.RDFA_1_1;
        if(rdfaCompatibility == RDFa.VERSION_10) {
            version = RDFaVersion.RDFA_1_0;
        }
        else if(rdfaCompatibility == RDFa.VERSION_11) {
            version = RDFaVersion.RDFA_1_1;
View Full Code Here


     * Refreshes the settings on the stream processor using the current values from the parserConfig.
     */
    private void refreshSettings() {
        // Map from Sesame RDFaVersion to the RDFa short constants
        short rdfaCompatibility = RDFa.VERSION_11;
        RDFaVersion version = parserConfig.get(RDFaParserSettings.RDFA_COMPATIBILITY);
        if(version == RDFaVersion.RDFA_1_0) {
            rdfaCompatibility = RDFa.VERSION_10;
        }
        else if(version == RDFaVersion.RDFA_1_1) {
            rdfaCompatibility = RDFa.VERSION_11;
View Full Code Here

TOP

Related Classes of org.openrdf.rio.helpers.RDFaVersion

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.