Examples of createLiteral()


Examples of org.openrdf.model.impl.ValueFactoryImpl.createLiteral()

    ValueFactoryImpl vf = ValueFactoryImpl.getInstance();

    BNode implNode = vf.createBNode();

    if (type != null) {
      model.add(implNode, SAILTYPE, vf.createLiteral(type));
    }

    return implNode;
  }
View Full Code Here

Examples of org.openrdf.model.impl.ValueFactoryImpl.createLiteral()

    if (url != null) {
      model.add(implNode, REPOSITORYURL, vf.createURI(url));
    }
    if (readOnly) {
      model.add(implNode, READ_ONLY, vf.createLiteral(readOnly));
    }
    for (String space : subjectSpace) {
      model.add(implNode, SUBJECTSPACE, vf.createURI(space));
    }
    // if (username != null) {
View Full Code Here

Examples of org.openrdf.model.impl.ValueFactoryImpl.createLiteral()

    Resource implNode = super.export(model);

    ValueFactoryImpl vf = ValueFactoryImpl.getInstance();

    if (tripleIndexes != null) {
      model.add(implNode, TRIPLE_INDEXES, vf.createLiteral(tripleIndexes));
    }
    if (forceSync) {
      model.add(implNode, FORCE_SYNC, vf.createLiteral(forceSync));
    }
View Full Code Here

Examples of org.openrdf.model.impl.ValueFactoryImpl.createLiteral()

    if (tripleIndexes != null) {
      model.add(implNode, TRIPLE_INDEXES, vf.createLiteral(tripleIndexes));
    }
    if (forceSync) {
      model.add(implNode, FORCE_SYNC, vf.createLiteral(forceSync));
    }

    return implNode;
  }
View Full Code Here

Examples of org.openrdf.model.impl.ValueFactoryImpl.createLiteral()

    Resource implNode = super.export(model);

    ValueFactoryImpl vf = ValueFactoryImpl.getInstance();

    if (persist) {
      model.add(implNode, PERSIST, vf.createLiteral(persist));
    }

    if (syncDelay != 0) {
      model.add(implNode, SYNC_DELAY, vf.createLiteral(syncDelay));
    }
View Full Code Here

Examples of org.openrdf.model.impl.ValueFactoryImpl.createLiteral()

    if (persist) {
      model.add(implNode, PERSIST, vf.createLiteral(persist));
    }

    if (syncDelay != 0) {
      model.add(implNode, SYNC_DELAY, vf.createLiteral(syncDelay));
    }

    return implNode;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.