Interface FactoryRDF

All Known Implementing Classes:
FactoryRDFCaching, FactoryRDFStd

public interface FactoryRDF
Create core RDF objects: Nodes, Triples, Quads, which are system-wide.
  • 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.
  • Method Details

    • createTriple

      org.apache.jena.graph.Triple createTriple(org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate, org.apache.jena.graph.Node object)
    • createQuad

      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)
    • createURI

      org.apache.jena.graph.Node createURI(String uriStr)
    • createTypedLiteral

      org.apache.jena.graph.Node createTypedLiteral(String lexical, org.apache.jena.datatypes.RDFDatatype datatype)
    • createLangLiteral

      org.apache.jena.graph.Node createLangLiteral(String lexical, String langTag)
    • createStringLiteral

      org.apache.jena.graph.Node createStringLiteral(String lexical)
    • createBlankNode

      org.apache.jena.graph.Node createBlankNode()
      Create a blank node which is completely new and used nowhere else.
    • createBlankNode

      org.apache.jena.graph.Node createBlankNode(String label)
      Create a blank node with the given string as internal system id
    • createBlankNode

      org.apache.jena.graph.Node createBlankNode(long mostSigBits, long leastSigBits)
      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.
      See Also:
    • reset

      void reset()
      Reset any internal state that should not be carried across parse runs (e.g. blank node labels).