Package org.apache.jena.riot.system
Interface FactoryRDF
-
- All Known Implementing Classes:
FactoryRDFCaching,FactoryRDFStd
public interface FactoryRDF
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NodecreateBlankNode()Create a blank node which is completely new and used nowhere else.NodecreateBlankNode(long mostSigBits, long leastSigBits)Create a blank with the internal system id taken from 128 bit number provided.NodecreateBlankNode(java.lang.String label)Create a blank node with the given string as internal system idNodecreateLangLiteral(java.lang.String lexical, java.lang.String langTag)QuadcreateQuad(Node graph, Node subject, Node predicate, Node object)NodecreateStringLiteral(java.lang.String lexical)TriplecreateTriple(Node subject, Node predicate, Node object)NodecreateTypedLiteral(java.lang.String lexical, RDFDatatype datatype)NodecreateURI(java.lang.String uriStr)voidreset()Reset any internal state that should not be carried across parse runs (e.g.
-
-
-
Method Detail
-
createURI
Node createURI(java.lang.String uriStr)
-
createTypedLiteral
Node createTypedLiteral(java.lang.String lexical, RDFDatatype datatype)
-
createLangLiteral
Node createLangLiteral(java.lang.String lexical, java.lang.String langTag)
-
createStringLiteral
Node createStringLiteral(java.lang.String lexical)
-
createBlankNode
Node createBlankNode()
Create a blank node which is completely new and used nowhere else.
-
createBlankNode
Node createBlankNode(java.lang.String label)
Create a blank node with the given string as internal system id
-
createBlankNode
Node createBlankNode(long mostSigBits, long leastSigBits)
Create a blank with the internal system id taken from 128 bit number provided. This must be compatible withUUIDso the variant and version bits must agree with RFC 4122.- See Also:
UUID, RFC 4122: A Universally Unique IDentifier (UUID) URN Namespace
-
reset
void reset()
Reset any internal state that should not be carried across parse runs (e.g. blank node labels).
-
-