Class JsonSchemaTesting

java.lang.Object
org.openprovenance.prov.template.compiler.JsonSchemaTesting

public class JsonSchemaTesting extends Object
  • Constructor Details

    • JsonSchemaTesting

      public JsonSchemaTesting()
  • Method Details

    • getJsonNodeFromClasspath

      protected com.fasterxml.jackson.databind.JsonNode getJsonNodeFromClasspath(String name) throws IOException
      Throws:
      IOException
    • getJsonNodeFromStringContent

      protected com.fasterxml.jackson.databind.JsonNode getJsonNodeFromStringContent(String content) throws IOException
      Throws:
      IOException
    • getJsonNodeFromUrl

      protected com.fasterxml.jackson.databind.JsonNode getJsonNodeFromUrl(String url) throws IOException
      Throws:
      IOException
    • getJsonSchemaFromClasspath

      protected com.networknt.schema.JsonSchema getJsonSchemaFromClasspath(String name)
    • getJsonSchemaFromClasspathV7

      protected com.networknt.schema.JsonSchema getJsonSchemaFromClasspathV7(String name)
    • getJsonSchemaFromFile

      protected com.networknt.schema.JsonSchema getJsonSchemaFromFile(String name) throws FileNotFoundException
      Throws:
      FileNotFoundException
    • getJsonSchemaFromStringContent

      protected com.networknt.schema.JsonSchema getJsonSchemaFromStringContent(String schemaContent)
    • getJsonSchemaFromUrl

      protected com.networknt.schema.JsonSchema getJsonSchemaFromUrl(String uri) throws URISyntaxException
      Throws:
      URISyntaxException
    • getJsonSchemaFromJsonNode

      protected com.networknt.schema.JsonSchema getJsonSchemaFromJsonNode(com.fasterxml.jackson.databind.JsonNode jsonNode)
    • getJsonSchemaFromJsonNodeAutomaticVersion

      protected com.networknt.schema.JsonSchema getJsonSchemaFromJsonNodeAutomaticVersion(com.fasterxml.jackson.databind.JsonNode jsonNode)