Uses of Class
com.janeirodigital.sai.rdfutils.SaiRdfException

  • Uses of SaiRdfException in com.janeirodigital.sai.rdfutils

    Modifier and Type
    Method
    Description
    static String
     
    static Boolean
    RdfUtils.getBooleanObject(org.apache.jena.rdf.model.Resource resource, org.apache.jena.rdf.model.Property property)
    Returns a single literal value as Boolean from the object of the statement matching the provided property in the provided resource.
    RdfUtils.getDateTimeObject(org.apache.jena.rdf.model.Resource resource, org.apache.jena.rdf.model.Property property)
    Returns a single literal value as OffsetDateTime from the object of the statement matching the provided property in the provided resource.
    static Integer
    RdfUtils.getIntegerObject(org.apache.jena.rdf.model.Resource resource, org.apache.jena.rdf.model.Property property)
    Returns a single literal value as Integer from the object of the statement matching the provided property in the provided resource.
    static String
    RdfUtils.getJsonLdStringFromModel(org.apache.jena.rdf.model.Model model, String jsonLdContext)
    Get a String of the provided model serialized in JSON-LD
    static org.apache.jena.rdf.model.Model
    RdfUtils.getModelFromFile(URI baseUri, String filePath, String contentType)
    Deserializes the contents of the provided filePath into a Jena Model.
    static org.apache.jena.rdf.model.Model
    RdfUtils.getModelFromString(URI baseUri, String rawContent, String contentType)
    Deserializes the provided String rawContent into a Jena Model
    static Boolean
    RdfUtils.getRequiredBooleanObject(org.apache.jena.rdf.model.Resource resource, org.apache.jena.rdf.model.Property property)
    Returns a single literal value as Boolean from the object of the statement matching the provided property in the provided resource.
    RdfUtils.getRequiredDateTimeObject(org.apache.jena.rdf.model.Resource resource, org.apache.jena.rdf.model.Property property)
    Returns a single literal value as OffsetDateTime from the object of the statement matching the provided property in the provided resource.
    static Integer
    RdfUtils.getRequiredIntegerObject(org.apache.jena.rdf.model.Resource resource, org.apache.jena.rdf.model.Property property)
    Returns a single literal value as Integer from the object of the statement matching the provided property in the provided resource.
    static String
    RdfUtils.getRequiredStringObject(org.apache.jena.rdf.model.Resource resource, org.apache.jena.rdf.model.Property property)
    Returns a single literal value as String from the object of the statement matching the provided property in the provided resource.
    static List<String>
    RdfUtils.getRequiredStringObjects(org.apache.jena.rdf.model.Resource resource, org.apache.jena.rdf.model.Property property)
    Returns a list of Strings matching the provided property in the provided resource.
    static URI
    RdfUtils.getRequiredUriObject(org.apache.jena.rdf.model.Resource resource, org.apache.jena.rdf.model.Property property)
    Returns a single URI value from the object of the statement matching the provided property in the provided resource.
    static List<URI>
    RdfUtils.getRequiredUriObjects(org.apache.jena.rdf.model.Resource resource, org.apache.jena.rdf.model.Property property)
    Returns a list of URIs matching the provided property in the provided resource.
    static String
    RdfUtils.getStringObject(org.apache.jena.rdf.model.Resource resource, org.apache.jena.rdf.model.Property property)
    Returns a single literal value as String from the object of the statement matching the provided property in the provided resource.
    static List<String>
    RdfUtils.getStringObjects(org.apache.jena.rdf.model.Resource resource, org.apache.jena.rdf.model.Property property)
    Returns a list of Strings matching the provided property in the provided resource.
    static URI
    RdfUtils.getUriObject(org.apache.jena.rdf.model.Resource resource, org.apache.jena.rdf.model.Property property)
    Returns a single URI value from the object of the statement matching the provided property in the provided resource.
    static List<URI>
    RdfUtils.getUriObjects(org.apache.jena.rdf.model.Resource resource, org.apache.jena.rdf.model.Property property)
    Returns a list of URIs matching the provided property in the provided resource.
    static URI
    RdfUtils.nodeToUri(org.apache.jena.rdf.model.RDFNode node)
    Convert an RDFNode value to URI