Class JsonSchemaTesting
java.lang.Object
org.openprovenance.prov.template.compiler.JsonSchemaTesting
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.fasterxml.jackson.databind.JsonNodeprotected com.fasterxml.jackson.databind.JsonNodegetJsonNodeFromStringContent(String content) protected com.fasterxml.jackson.databind.JsonNodegetJsonNodeFromUrl(String url) protected com.networknt.schema.JsonSchemaprotected com.networknt.schema.JsonSchemaprotected 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.JsonSchema
-
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
- Throws:
IOException
-
getJsonSchemaFromClasspath
-
getJsonSchemaFromClasspathV7
-
getJsonSchemaFromFile
protected com.networknt.schema.JsonSchema getJsonSchemaFromFile(String name) throws FileNotFoundException - Throws:
FileNotFoundException
-
getJsonSchemaFromStringContent
-
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)
-