Class CompilerDocumentation

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

public class CompilerDocumentation extends Object
  • Constructor Details

    • CompilerDocumentation

      public CompilerDocumentation(ProvFactory pFactory)
  • Method Details

    • initializeSchemaMap

      public Map<String,Object> initializeSchemaMap()
    • getOutputStream

      public PrintStream getOutputStream()
    • generateDocumentation

      public void generateDocumentation(String documentationFile, String templateName, String root_dir, TemplateBindingsSchema bindingsSchema)
    • makeSpan

      public String makeSpan(String key, String classe)
    • defaultValue

      public Object defaultValue(String jsonType)
    • title

      public String title(String key)
    • 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