Class CompilerDocumentation
- java.lang.Object
-
- org.openprovenance.prov.template.compiler.CompilerDocumentation
-
public class CompilerDocumentation extends Object
-
-
Constructor Summary
Constructors Constructor Description CompilerDocumentation()
-
Method Summary
Modifier and Type Method Description Set<com.networknt.schema.ValidationMessage>checkSchema(com.networknt.schema.JsonSchema schema, String file)ObjectdefaultValue(String jsonType)voidgenerateDocumentation(String documentationFile, String templateName, String root_dir, com.fasterxml.jackson.databind.JsonNode bindings_schema)voidgenerateDocumentationEnd(TemplatesCompilerConfig configs, String cli_webjar_dir)Stringget$id()PrintStreamgetOutputStream()Map<String,Object>initializeSchemaMap()StringmakeSpan(String key, String classe)com.networknt.schema.JsonSchemasetupJsonSchemaFromClasspath(String file)com.networknt.schema.JsonSchemasetupJsonSchemaFromClasspathV7(String file)com.networknt.schema.JsonSchemasetupJsonSchemaFromFile(String file)Stringtitle(String key)
-
-
-
Method Detail
-
getOutputStream
public PrintStream getOutputStream()
-
generateDocumentation
public void generateDocumentation(String documentationFile, String templateName, String root_dir, com.fasterxml.jackson.databind.JsonNode bindings_schema)
-
get$id
public String get$id()
-
generateDocumentationEnd
public void generateDocumentationEnd(TemplatesCompilerConfig configs, String cli_webjar_dir)
-
setupJsonSchemaFromClasspath
public com.networknt.schema.JsonSchema setupJsonSchemaFromClasspath(String file)
-
setupJsonSchemaFromClasspathV7
public com.networknt.schema.JsonSchema setupJsonSchemaFromClasspathV7(String file)
-
setupJsonSchemaFromFile
public com.networknt.schema.JsonSchema setupJsonSchemaFromFile(String file) throws FileNotFoundException
- Throws:
FileNotFoundException
-
checkSchema
public Set<com.networknt.schema.ValidationMessage> checkSchema(com.networknt.schema.JsonSchema schema, String file) throws IOException
- Throws:
IOException
-
-