Class FactoryRDFStd

java.lang.Object
org.apache.jena.riot.system.FactoryRDFStd
All Implemented Interfaces:
FactoryRDF
Direct Known Subclasses:
FactoryRDFCaching

public class FactoryRDFStd extends Object implements FactoryRDF
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    FactoryRDFStd(LabelToNode labelMapping)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.jena.graph.Node
    Create a blank node which is completely new and used nowhere else.
    org.apache.jena.graph.Node
    createBlankNode(long mostSigBits, long leastSigBits)
    Create a blank with the internal system id taken from 128 bit number provided.
    org.apache.jena.graph.Node
    Create a blank node with the given string as internal system id
    org.apache.jena.graph.Node
    createLangLiteral(String lexical, String langTag)
     
    createQuad(org.apache.jena.graph.Node graph, org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate, org.apache.jena.graph.Node object)
     
    org.apache.jena.graph.Node
     
    org.apache.jena.graph.Triple
    createTriple(org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate, org.apache.jena.graph.Node object)
     
    org.apache.jena.graph.Node
    createTypedLiteral(String lexical, org.apache.jena.datatypes.RDFDatatype datatype)
     
    org.apache.jena.graph.Node
    createURI(String uriStr)
     
    void
    Reset any internal state that should not be carried across parse runs (e.g. blank node labels).

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FactoryRDFStd

      public FactoryRDFStd()
    • FactoryRDFStd

      public FactoryRDFStd(LabelToNode labelMapping)
  • Method Details

    • createTriple

      public org.apache.jena.graph.Triple createTriple(org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate, org.apache.jena.graph.Node object)
      Specified by:
      createTriple in interface FactoryRDF
    • createQuad

      public Quad createQuad(org.apache.jena.graph.Node graph, org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate, org.apache.jena.graph.Node object)
      Specified by:
      createQuad in interface FactoryRDF
    • createURI

      public org.apache.jena.graph.Node createURI(String uriStr)
      Specified by:
      createURI in interface FactoryRDF
    • createTypedLiteral

      public org.apache.jena.graph.Node createTypedLiteral(String lexical, org.apache.jena.datatypes.RDFDatatype datatype)
      Specified by:
      createTypedLiteral in interface FactoryRDF
    • createLangLiteral

      public org.apache.jena.graph.Node createLangLiteral(String lexical, String langTag)
      Specified by:
      createLangLiteral in interface FactoryRDF
    • createStringLiteral

      public org.apache.jena.graph.Node createStringLiteral(String lexical)
      Specified by:
      createStringLiteral in interface FactoryRDF
    • createBlankNode

      public org.apache.jena.graph.Node createBlankNode(long mostSigBits, long leastSigBits)
      Description copied from interface: FactoryRDF
      Create a blank with the internal system id taken from 128 bit number provided. This must be compatible with UUID so the variant and version bits must agree with RFC 4122.
      Specified by:
      createBlankNode in interface FactoryRDF
      See Also:
    • createBlankNode

      public org.apache.jena.graph.Node createBlankNode(String label)
      Description copied from interface: FactoryRDF
      Create a blank node with the given string as internal system id
      Specified by:
      createBlankNode in interface FactoryRDF
    • createBlankNode

      public org.apache.jena.graph.Node createBlankNode()
      Description copied from interface: FactoryRDF
      Create a blank node which is completely new and used nowhere else.
      Specified by:
      createBlankNode in interface FactoryRDF
    • reset

      public void reset()
      Description copied from interface: FactoryRDF
      Reset any internal state that should not be carried across parse runs (e.g. blank node labels).
      Specified by:
      reset in interface FactoryRDF