Class JsonSchemaTesting
- java.lang.Object
-
- org.openprovenance.prov.template.compiler.JsonSchemaTesting
-
public class JsonSchemaTesting extends Object
-
-
Constructor Summary
Constructors Constructor Description JsonSchemaTesting()
-
Method Summary
Modifier and Type Method Description protected com.fasterxml.jackson.databind.JsonNodegetJsonNodeFromClasspath(String name)protected com.fasterxml.jackson.databind.JsonNodegetJsonNodeFromStringContent(String content)protected com.fasterxml.jackson.databind.JsonNodegetJsonNodeFromUrl(String url)protected com.networknt.schema.JsonSchemagetJsonSchemaFromClasspath(String name)protected com.networknt.schema.JsonSchemagetJsonSchemaFromClasspathV7(String name)protected com.networknt.schema.JsonSchemagetJsonSchemaFromFile(String name)protected com.networknt.schema.JsonSchemagetJsonSchemaFromJsonNode(com.fasterxml.jackson.databind.JsonNode jsonNode)protected com.networknt.schema.JsonSchemagetJsonSchemaFromJsonNodeAutomaticVersion(com.fasterxml.jackson.databind.JsonNode jsonNode)protected com.networknt.schema.JsonSchemagetJsonSchemaFromStringContent(String schemaContent)protected com.networknt.schema.JsonSchemagetJsonSchemaFromUrl(String uri)
-
-
-
Method Detail
-
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)
-
-