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
propertyin 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
propertyin 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
propertyin the providedresource. - getJsonLdStringFromModel(Model, String) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Get a String of the provided
modelserialized 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
filePathinto a Jena Model. - getModelFromString(URI, String, String) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Deserializes the provided String
rawContentinto 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
resourceUriand 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
resourceUriand 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
resourceUriand 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
resourceUriand 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
propertyin the providedresource. - getObjects(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Returns a list of Jena RDFNodes matching the provided
propertyin 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
propertyin 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
propertyin 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
propertyin the providedresource. - getRequiredObject(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Returns a single Jena RDFNode matching the provided
propertyin the providedresource. - getRequiredObjects(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Returns a list of Jena RDFNodes matching the provided
propertyin the providedresource. - getRequiredStatement(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Returns a single Jena Statement matching the provided
propertyin 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
propertyin the providedresource. - getRequiredStringObjects(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Returns a list of Strings matching the provided
propertyin 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
propertyin the providedresource. - getRequiredUriObjects(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Returns a list of URIs matching the provided
propertyin the providedresource. - getResourceFromModel(Model, URI) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Returns a jena Resource at the specified
resourceUrifrom the provided jena Model - getStatement(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Returns a single Jena Statement matching the provided
propertyin the providedresource. - getStringFromRdfModel(Model, Lang) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Get a String of the provided
modelserialized 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
propertyin the providedresource. - getStringObjects(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Returns a list of Strings matching the provided
propertyin 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
propertyin the providedresource. - getUriObjects(Resource, Property) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Returns a list of URIs matching the provided
propertyin 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
resourcefor the specifiedpropertywith the boolean provided viabool. - updateObject(Resource, Property, int) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Updates the provided Jena Resource
resourcefor the specifiedpropertywith the integer provided viainteger. - updateObject(Resource, Property, String) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Updates the provided Jena Resource
resourcefor the specifiedpropertywith the String literalstring. - updateObject(Resource, Property, URI) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Updates the provided Jena Resource
resourcefor the specifiedpropertywith the URIuri. - updateObject(Resource, Property, OffsetDateTime) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Updates the provided Jena Resource
resourcefor the specifiedpropertywith the xsd:dateTime provided viadateTime. - updateObject(Resource, Property, RDFNode) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Updates the provided Jena Resource
resourcefor the specifiedpropertywith the RDFNodeobject. - updateObjects(Resource, Property, List<RDFNode>) - Static method in class com.janeirodigital.sai.rdfutils.RdfUtils
-
Updates the provided Jena Resource
resourcefor the specifiedpropertywith 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
resourcefor the specifiedpropertywith 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
resourcefor the specifiedpropertywith the list of URIs provided viauris.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form