java.lang.Object
org.apache.jena.riot.system.FactoryRDFStd
- All Implemented Interfaces:
FactoryRDF
- Direct Known Subclasses:
FactoryRDFCaching
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.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
createBlankNode
(String label) Create a blank node with the given string as internal system idorg.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
createStringLiteral
(String lexical) 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
void
reset()
Reset any internal state that should not be carried across parse runs (e.g. blank node labels).
-
Constructor Details
-
FactoryRDFStd
public FactoryRDFStd() -
FactoryRDFStd
-
-
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 interfaceFactoryRDF
-
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 interfaceFactoryRDF
-
createURI
- Specified by:
createURI
in interfaceFactoryRDF
-
createTypedLiteral
public org.apache.jena.graph.Node createTypedLiteral(String lexical, org.apache.jena.datatypes.RDFDatatype datatype) - Specified by:
createTypedLiteral
in interfaceFactoryRDF
-
createLangLiteral
- Specified by:
createLangLiteral
in interfaceFactoryRDF
-
createStringLiteral
- Specified by:
createStringLiteral
in interfaceFactoryRDF
-
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 withUUID
so the variant and version bits must agree with RFC 4122.- Specified by:
createBlankNode
in interfaceFactoryRDF
- See Also:
-
createBlankNode
Description copied from interface:FactoryRDF
Create a blank node with the given string as internal system id- Specified by:
createBlankNode
in interfaceFactoryRDF
-
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 interfaceFactoryRDF
-
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 interfaceFactoryRDF
-