Index
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 providedresource
. - 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 providedresource
. - 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 providedresource
. - 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 RDFtype
. - 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 RDFtype
. - 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 RDFtype
. - 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 RDFtype
. - getObject(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Returns a single Jena RDFNode matching the provided
property
in the providedresource
. - getObjects(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Returns a list of Jena RDFNodes matching the provided
property
in the providedresource
. - 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 providedresource
. - 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 providedresource
. - 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 providedresource
. - getRequiredObject(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Returns a single Jena RDFNode matching the provided
property
in the providedresource
. - getRequiredObjects(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Returns a list of Jena RDFNodes matching the provided
property
in the providedresource
. - getRequiredStatement(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Returns a single Jena Statement matching the provided
property
in the providedresource
. - 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 providedresource
. - getRequiredStringObjects(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Returns a list of Strings matching the provided
property
in the providedresource
. - 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 providedresource
. - getRequiredUriObjects(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Returns a list of URIs matching the provided
property
in the providedresource
. - 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 providedresource
. - getStringFromRdfModel(Model, Lang) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Get a String of the provided
model
serialized inlang
. - 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 providedresource
. - getStringObjects(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Returns a list of Strings matching the provided
property
in the providedresource
. - 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 providedresource
. - getUriObjects(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Returns a list of URIs matching the provided
property
in the providedresource
.
L
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 specifiedproperty
with the boolean provided viabool
. - updateObject(Resource, Property, int) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Updates the provided Jena Resource
resource
for the specifiedproperty
with the integer provided viainteger
. - updateObject(Resource, Property, String) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Updates the provided Jena Resource
resource
for the specifiedproperty
with the String literalstring
. - updateObject(Resource, Property, URI) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Updates the provided Jena Resource
resource
for the specifiedproperty
with the URIuri
. - updateObject(Resource, Property, OffsetDateTime) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Updates the provided Jena Resource
resource
for the specifiedproperty
with the xsd:dateTime provided viadateTime
. - updateObject(Resource, Property, RDFNode) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Updates the provided Jena Resource
resource
for the specifiedproperty
with the RDFNodeobject
. - updateObjects(Resource, Property, List<RDFNode>) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Updates the provided Jena Resource
resource
for the specifiedproperty
with the list of RDF Nodes provided viaobjects
. - updateStringObjects(Resource, Property, List<String>) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Updates the provided Jena Resource
resource
for the specifiedproperty
with the list of Strings provided viastrings
. - updateUriObjects(Resource, Property, List<URI>) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Updates the provided Jena Resource
resource
for the specifiedproperty
with the list of URIs provided viauris
.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form