Index

B C G L N R S T U 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

B

buildRemoteJsonLdContext(String) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
 
buildRemoteJsonLdContexts(List<String>) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
 

C

com.janeirodigital.sai.rdfutils - package com.janeirodigital.sai.rdfutils
 

G

getBooleanObject(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Returns a single literal value as Boolean from the object of the statement matching the provided property in the provided resource.
getDateTimeObject(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Returns a single literal value as OffsetDateTime from the object of the statement matching the provided property in the provided resource.
getIntegerObject(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Returns a single literal value as Integer from the object of the statement matching the provided property in the provided resource.
getJsonLdStringFromModel(Model, String) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Get a String of the provided model serialized in JSON-LD
getLangForContentType(String) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Determine the Jena language (graph serialization type) based on a content type string
getModelFromFile(URI, String, String) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Deserializes the contents of the provided filePath into a Jena Model.
getModelFromString(URI, String, String) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Deserializes the provided String rawContent into a Jena Model
getNewResource(URI) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Gets a new Jena Resource (and associated Model) for the provided resourceUri
getNewResource(Model, URI) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Gets a new Jena Resource from the supplied model for the provided resourceUri
getNewResourceForType(URI, String) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Gets a new Jena Resource (and associated Model) for the provided resourceUri and adds a statement identifying the resource as the provided RDF type.
getNewResourceForType(URI, RDFNode) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Gets a new Jena Resource (and associated Model) for the provided resourceUri and adds a statement identifying the resource as the provided RDF type.
getNewResourceForType(Model, URI, String) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Gets a new Jena Resource from the supplied model for the provided resourceUri and adds a statement identifying the resource as the provided RDF type.
getNewResourceForType(Model, URI, RDFNode) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Gets a new Jena Resource from the supplied model for the provided resourceUri and adds a statement identifying the resource as the provided RDF type.
getObject(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Returns a single Jena RDFNode matching the provided property in the provided resource.
getObjects(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Returns a list of Jena RDFNodes matching the provided property in the provided resource.
getRequiredBooleanObject(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Returns a single literal value as Boolean from the object of the statement matching the provided property in the provided resource.
getRequiredDateTimeObject(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Returns a single literal value as OffsetDateTime from the object of the statement matching the provided property in the provided resource.
getRequiredIntegerObject(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Returns a single literal value as Integer from the object of the statement matching the provided property in the provided resource.
getRequiredObject(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Returns a single Jena RDFNode matching the provided property in the provided resource.
getRequiredObjects(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Returns a list of Jena RDFNodes matching the provided property in the provided resource.
getRequiredStatement(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Returns a single Jena Statement matching the provided property in the provided resource.
getRequiredStringObject(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Returns a single literal value as String from the object of the statement matching the provided property in the provided resource.
getRequiredStringObjects(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Returns a list of Strings matching the provided property in the provided resource.
getRequiredUriObject(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Returns a single URI value from the object of the statement matching the provided property in the provided resource.
getRequiredUriObjects(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Returns a list of URIs matching the provided property in the provided resource.
getResourceFromModel(Model, URI) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Returns a jena Resource at the specified resourceUri from the provided jena Model
getStatement(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Returns a single Jena Statement matching the provided property in the provided resource.
getStringFromRdfModel(Model, Lang) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Get a String of the provided model serialized in lang.
getStringObject(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Returns a single literal value as String from the object of the statement matching the provided property in the provided resource.
getStringObjects(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Returns a list of Strings matching the provided property in the provided resource.
getUriObject(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Returns a single URI value from the object of the statement matching the provided property in the provided resource.
getUriObjects(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Returns a list of URIs matching the provided property in the provided resource.

L

LD_JSON - Static variable in class com.janeirodigital.sai.rdfutils.RdfUtils
 

N

N_TRIPLES - Static variable in class com.janeirodigital.sai.rdfutils.RdfUtils
 
nodeToUri(RDFNode) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Convert an RDFNode value to URI

R

RDF_XML - Static variable in class com.janeirodigital.sai.rdfutils.RdfUtils
 
RdfUtils - Class in com.janeirodigital.sai.rdfutils
 

S

SaiRdfException - Exception in com.janeirodigital.sai.rdfutils
General exception used to represent issues in rdf processing
SaiRdfException(String) - Constructor for exception com.janeirodigital.sai.rdfutils.SaiRdfException
 
SaiRdfException(String, Throwable) - Constructor for exception com.janeirodigital.sai.rdfutils.SaiRdfException
 
SaiRdfNotFoundException - Exception in com.janeirodigital.sai.rdfutils
Custom exception thrown when something cannot be found in an RDF graph
SaiRdfNotFoundException(String) - Constructor for exception com.janeirodigital.sai.rdfutils.SaiRdfNotFoundException
 

T

TEXT_TURTLE - Static variable in class com.janeirodigital.sai.rdfutils.RdfUtils
 

U

updateObject(Resource, Property, boolean) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Updates the provided Jena Resource resource for the specified property with the boolean provided via bool.
updateObject(Resource, Property, int) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Updates the provided Jena Resource resource for the specified property with the integer provided via integer.
updateObject(Resource, Property, String) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Updates the provided Jena Resource resource for the specified property with the String literal string.
updateObject(Resource, Property, URI) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Updates the provided Jena Resource resource for the specified property with the URI uri.
updateObject(Resource, Property, OffsetDateTime) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Updates the provided Jena Resource resource for the specified property with the xsd:dateTime provided via dateTime.
updateObject(Resource, Property, RDFNode) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Updates the provided Jena Resource resource for the specified property with the RDFNode object.
updateObjects(Resource, Property, List<RDFNode>) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Updates the provided Jena Resource resource for the specified property with the list of RDF Nodes provided via objects.
updateStringObjects(Resource, Property, List<String>) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Updates the provided Jena Resource resource for the specified property with the list of Strings provided via strings.
updateUriObjects(Resource, Property, List<URI>) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
Updates the provided Jena Resource resource for the specified property with the list of URIs provided via uris.
B C G L N R S T U 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form