| org.ontoware.rdf2go.model.ModelValueFactory
ModelValueFactory | public interface ModelValueFactory (Code) | | Factory-like parts of an RDF2Go-Model
author: voelkel |
createBlankNode | BlankNode createBlankNode()(Code) | | Create (but do not add) a new blank node
a new blank node |
createBlankNode | BlankNode createBlankNode(String internalID)(Code) | | Create a new blank node with the given internal ID. The id should be one
returned from BlankNode.getInternalID().
Parameters: internalID - a BlankNode with the given internal ID. throws: UnsupportedOperationException - if the underlying store cannot create BlankNodes from IDs. throws: IllegalArgumentException - if the internalID could not be used |
createPlainLiteral | PlainLiteral createPlainLiteral(String literal)(Code) | | Create a new plain literal
Parameters: literal - a PlainLiteral |
createStatement | Statement createStatement(Resource subject, URI predicate, Node object)(Code) | | Create a new statement - but DOES NOT add it to the model
Parameters: subject - Parameters: predicate - Parameters: object - a Statement |
isValidURI | boolean isValidURI(String uriString)(Code) | | CHecks URI for syntax errors.
Parameters: uriString - true if the URI is valid for the given implementation |
newRandomUniqueURI | URI newRandomUniqueURI()(Code) | | Implementations are free to choose if their semantics are unique within
the this model, the ModelSet, or unique in the universe
a new, unique URI |
|
|