Class RDFUtils

java.lang.Object
org.aksw.jenax.model.shacl.util.RDFUtils

public class RDFUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Set<org.apache.jena.rdf.model.RDFNode>
    objects(org.apache.jena.rdf.model.RDFNode rdfNode, org.apache.jena.rdf.model.Property p)
     
    Set<org.apache.jena.rdf.model.Property>
    properties(org.apache.jena.rdf.model.RDFNode rdfNode)
     
    boolean
    strContains(Object str, Object substr)
    Convert both arguments to strings, then return the result of arg1.contains(arg2).
    toHtml(org.apache.jena.graph.Node node)
     
    toHtml(org.apache.jena.rdf.model.RDFNode rdfNode)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RDFUtils

      public RDFUtils()
  • Method Details

    • properties

      public Set<org.apache.jena.rdf.model.Property> properties(org.apache.jena.rdf.model.RDFNode rdfNode)
    • objects

      public Set<org.apache.jena.rdf.model.RDFNode> objects(org.apache.jena.rdf.model.RDFNode rdfNode, org.apache.jena.rdf.model.Property p)
    • toHtml

      public String toHtml(org.apache.jena.rdf.model.RDFNode rdfNode)
    • strContains

      public boolean strContains(Object str, Object substr)
      Convert both arguments to strings, then return the result of arg1.contains(arg2). Pebble seems to parse .contains() as its own operator rather than a method name, hence this helper.
    • toHtml

      public String toHtml(org.apache.jena.graph.Node node)