public class FactoryRDFStd extends Object implements FactoryRDF
| Constructor and Description |
|---|
FactoryRDFStd() |
FactoryRDFStd(LabelToNode labelMapping) |
| Modifier and Type | Method and Description |
|---|---|
Node |
createBlankNode()
Create a blank node which is completely new and used nowhere else.
|
Node |
createBlankNode(long mostSigBits,
long leastSigBits)
Create a blank with the internal system id taken from 128 bit number provided.
|
Node |
createBlankNode(String label)
Create a blank node with the given string as internal system id
|
Node |
createLangLiteral(String lexical,
String langTag) |
Quad |
createQuad(Node graph,
Node subject,
Node predicate,
Node object) |
Node |
createStringLiteral(String lexical) |
Triple |
createTriple(Node subject,
Node predicate,
Node object) |
Node |
createTypedLiteral(String lexical,
RDFDatatype datatype) |
Node |
createURI(String uriStr) |
public FactoryRDFStd()
public FactoryRDFStd(LabelToNode labelMapping)
public Triple createTriple(Node subject, Node predicate, Node object)
createTriple in interface FactoryRDFpublic Quad createQuad(Node graph, Node subject, Node predicate, Node object)
createQuad in interface FactoryRDFpublic Node createURI(String uriStr)
createURI in interface FactoryRDFpublic Node createTypedLiteral(String lexical, RDFDatatype datatype)
createTypedLiteral in interface FactoryRDFpublic Node createLangLiteral(String lexical, String langTag)
createLangLiteral in interface FactoryRDFpublic Node createStringLiteral(String lexical)
createStringLiteral in interface FactoryRDFpublic Node createBlankNode(long mostSigBits, long leastSigBits)
FactoryRDFUUID so the variant and version
bits must agree with RFC 4122.createBlankNode in interface FactoryRDFUUID,
RFC 4122: A Universally Unique IDentifier (UUID) URN Namespacepublic Node createBlankNode(String label)
FactoryRDFcreateBlankNode in interface FactoryRDFpublic Node createBlankNode()
FactoryRDFcreateBlankNode in interface FactoryRDFLicenced under the Apache License, Version 2.0